update to openwrt 18.06.1
tested with ./build.sh ar71xx generic tl-wr1043nd-v1
This commit is contained in:
parent
38a96e37e0
commit
85e367523a
8
build.sh
8
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user