diff --git a/build.sh b/build.sh index b478138c..df0df843 100755 --- a/build.sh +++ b/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" \ No newline at end of file +echo "Done"