attila-lendvai/openwrt-auto-extroot

Update build script to reflect openwrt-lede remerge

prwood opened this issue · 3 comments

I have a small change to the build.sh script to update it to reflect the openwrt-lede remerge, and also to update the default version number to the current one.

--- a/build.sh
+++ b/build.sh
@@ -26,7 +26,7 @@ BUILD=`absolutize $BUILD`
 ### chose a release
 ###
 #RELEASE="15.05.1"
-RELEASE="17.01.1"
+RELEASE="17.01.4"
 
 IMGBUILDER_NAME="lede-imagebuilder-${RELEASE}-${TARGET_ARCHITECTURE}-${TARGET_VARIANT}.Linux-x86_64"
 IMGBUILDER_DIR="${BUILD}/${IMGBUILDER_NAME}"
@@ -35,7 +35,7 @@ IMGBUILDER_ARCHIVE="${IMGBUILDER_NAME}.tar.xz"
 IMGTEMPDIR="${BUILD}/openwrt-build-image-extras"
 #https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/lede-imagebuilder-ar71xx-generic.Linux-x86_64.tar.xz
 #https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/lede-imagebuilder-ar71xx-generic.Linux-x86_64.tar.xz
-IMGBUILDERURL="https://downloads.lede-project.org/releases/${RELEASE}/targets/${TARGET_ARCHITECTURE}/${TARGET_VARIANT}/${IMGBUILDER_ARCHIVE}"
+IMGBUILDERURL="https://downloads.openwrt.org/releases/${RELEASE}/targets/${TARGET_ARCHITECTURE}/${TARGET_VARIANT}/${IMGBUILDER_ARCHIVE}"
 
 if [ -z ${TARGET_DEVICE} ]; then
     echo "Usage: $0 architecture variant device-profile"

great, now i need to re-rename the project, too... :|

thanks for the patch, though! i'll get to this eventually.

Did an PR this morning
#14

#14 has been merged, closing.

thanks for your patience!