diff --git a/build.sh b/build.sh index bbed9188..56a616e2 100755 --- a/build.sh +++ b/build.sh @@ -22,7 +22,6 @@ _get_repo() ( OMR_DIST=${OMR_DIST:-openmptcprouter} OMR_HOST=${OMR_HOST:-$(curl -sS ifconfig.co)} OMR_PORT=${OMR_PORT:-8000} -OMR_REPO=${OMR_REPO:-http://$OMR_HOST:$OMR_PORT/release/$OMR_KERNEL} OMR_KEEPBIN=${OMR_KEEPBIN:-no} OMR_IMG=${OMR_IMG:-yes} #OMR_UEFI=${OMR_UEFI:-yes} @@ -33,6 +32,7 @@ OMR_TARGET_CONFIG="config-$OMR_TARGET" OMR_KERNEL=${OMR_KERNEL:-5.4} #OMR_RELEASE=${OMR_RELEASE:-$(git describe --tags `git rev-list --tags --max-count=1` | sed 's/^\([0-9.]*\).*/\1/')} OMR_RELEASE=${OMR_RELEASE:-$(git tag --sort=committerdate | tail -1)} +OMR_REPO=${OMR_REPO:-http://$OMR_HOST:$OMR_PORT/release/$OMR_RELEASE} OMR_FEED_URL="${OMR_FEED_URL:-https://github.com/ysurac/openmptcprouter-feeds}" OMR_FEED_SRC="${OMR_FEED_SRC:-develop}" @@ -64,9 +64,9 @@ fi #_get_repo source https://github.com/ysurac/openmptcprouter-source "master" if [ "$OMR_OPENWRT" = "default" ]; then - _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "635f111148c3f7ccb0ecc92863a3b1a142f6ebeb" - _get_repo feeds/packages https://github.com/openwrt/packages "c7dca50f110d5458ceff21a2274eddae2aae119b" - _get_repo feeds/luci https://github.com/openwrt/luci "558525783cf33a986efa33d23f5283b33a6c936e" + _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "b123ffdf6ebaa3108524bb50d306d6ae73ff7405" + _get_repo feeds/packages https://github.com/openwrt/packages "477a881f14e0b0772002dbd2ee2d2c89139fc149" + _get_repo feeds/luci https://github.com/openwrt/luci "051c828aeb754a70cf9a3c710985992c29b35b7b" elif [ "$OMR_OPENWRT" = "master" ]; then _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "master" _get_repo feeds/packages https://github.com/openwrt/packages "master" diff --git a/root/target/linux/mediatek/image/Config.in b/root/target/linux/mediatek/image/Config.in index 0daa957a..22a49ea6 100644 --- a/root/target/linux/mediatek/image/Config.in +++ b/root/target/linux/mediatek/image/Config.in @@ -1,4 +1,4 @@ config MEDIATEK_SD_BOOT_PARTSIZE int "Boot (SD Card) filesystem partition size (in MB)" depends on TARGET_mediatek - default 128 \ No newline at end of file + default 128