diff --git a/build.sh b/build.sh index eeca47e..e6affd4 100755 --- a/build.sh +++ b/build.sh @@ -25,15 +25,13 @@ BUILD=`absolutize $BUILD` ### ### chose a release ### -RELEASE="17.01.4" +RELEASE="18.06.1" -IMGBUILDER_NAME="lede-imagebuilder-${RELEASE}-${TARGET_ARCHITECTURE}-${TARGET_VARIANT}.Linux-x86_64" +IMGBUILDER_NAME="openwrt-imagebuilder-${RELEASE}-${TARGET_ARCHITECTURE}-${TARGET_VARIANT}.Linux-x86_64" IMGBUILDER_DIR="${BUILD}/${IMGBUILDER_NAME}" IMGBUILDER_ARCHIVE="${IMGBUILDER_NAME}.tar.xz" IMGTEMPDIR="${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.openwrt.org/releases/${RELEASE}/targets/${TARGET_ARCHITECTURE}/${TARGET_VARIANT}/${IMGBUILDER_ARCHIVE}" if [ -z ${TARGET_DEVICE} ]; then @@ -85,7 +83,7 @@ pushd ${IMGBUILDER_DIR} make image PROFILE=${TARGET_DEVICE} PACKAGES="${PREINSTALLED_PACKAGES}" FILES=${IMGTEMPDIR} pushd bin/targets/${TARGET_ARCHITECTURE}/ -ln -s ../../packages . +ln -s ../../../packages . popd popd