mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Update build.sh
This commit is contained in:
parent
13619201da
commit
d1e98a5b2b
1 changed files with 4 additions and 2 deletions
6
build.sh
6
build.sh
|
@ -44,7 +44,7 @@ SHORTCUT_FE=${SHORTCUT_FE:-no}
|
|||
OMR_RELEASE=${OMR_RELEASE:-$(git describe --tags `git rev-list --tags --max-count=1` | tail -1 | cut -d '-' -f1)}
|
||||
OMR_REPO=${OMR_REPO:-http://$OMR_HOST:$OMR_PORT/release/$OMR_RELEASE/$OMR_TARGET}
|
||||
|
||||
OMR_FEED_URL="${OMR_FEED_URL:-https://github.com/suyuan168/openmptcprouter-feeds}"
|
||||
OMR_FEED_URL="${OMR_FEED_URL:-https://github.com/ysurac/openmptcprouter-feeds}"
|
||||
OMR_FEED_SRC="${OMR_FEED_SRC:-develop}"
|
||||
|
||||
CUSTOM_FEED_URL="${CUSTOM_FEED_URL}"
|
||||
|
@ -630,9 +630,11 @@ if ! patch -Rf -N -p1 -s --dry-run < patches/luci-occitan.patch; then
|
|||
fi
|
||||
[ -d $OMR_FEED/luci-base/po/oc ] && cp -rf $OMR_FEED/luci-base/po/oc feeds/luci/modules/luci-base/po/
|
||||
echo "Done"
|
||||
|
||||
cd "$OMR_TARGET/source"
|
||||
echo "Update feeds index"
|
||||
cp .config .config.keep
|
||||
scripts/feeds clean
|
||||
scripts/feeds update -a
|
||||
|
||||
#cd -
|
||||
|
@ -666,4 +668,4 @@ fi
|
|||
echo "Building $OMR_DIST for the target $OMR_TARGET with kernel $OMR_KERNEL"
|
||||
make defconfig
|
||||
make IGNORE_ERRORS=m "$@"
|
||||
echo "Done"
|
||||
echo "Done"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue