change to openwrt imagebuilder (snapshot)
This commit is contained in:
parent
68a222edc6
commit
31d0688c7c
6
build.sh
6
build.sh
@ -26,16 +26,16 @@ BUILD=`absolutize $BUILD`
|
|||||||
### chose a release
|
### chose a release
|
||||||
###
|
###
|
||||||
#RELEASE="15.05.1"
|
#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_NAME="openwrt-imagebuilder-${TARGET_ARCHITECTURE}-${TARGET_VARIANT}.Linux-x86_64"
|
||||||
IMGBUILDER_DIR="${BUILD}/${IMGBUILDER_NAME}"
|
IMGBUILDER_DIR="${BUILD}/${IMGBUILDER_NAME}"
|
||||||
IMGBUILDER_ARCHIVE="${IMGBUILDER_NAME}.tar.xz"
|
IMGBUILDER_ARCHIVE="${IMGBUILDER_NAME}.tar.xz"
|
||||||
|
|
||||||
IMGTEMPDIR="${BUILD}/openwrt-build-image-extras"
|
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
|
||||||
#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/snapshots/targets/${TARGET_ARCHITECTURE}/${TARGET_VARIANT}/${IMGBUILDER_ARCHIVE}"
|
||||||
|
|
||||||
if [ -z ${TARGET_DEVICE} ]; then
|
if [ -z ${TARGET_DEVICE} ]; then
|
||||||
echo "Usage: $0 architecture variant device-profile"
|
echo "Usage: $0 architecture variant device-profile"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user