aps: Upgrade to OpenWrt 16.06.0
This commit is contained in:
parent
3e53ee0d8d
commit
245e704a9e
4 changed files with 10 additions and 6 deletions
6
Makefile
6
Makefile
|
@ -1,12 +1,10 @@
|
|||
all: its
|
||||
|
||||
export IMAGEBUILDER_URL = http://downloads.lede-project.org/releases/17.01.4/targets/ar71xx/generic/lede-imagebuilder-17.01.4-ar71xx-generic.Linux-x86_64.tar.xz
|
||||
|
||||
its-tl-wr841-v10:
|
||||
./build-image.sh control/tl-wr841-v10
|
||||
IMAGEBUILDER_URL='https://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/tiny/openwrt-imagebuilder-18.06.0-ar71xx-tiny.Linux-x86_64.tar.xz' ./build-image.sh control/tl-wr841-v10
|
||||
|
||||
its-ubnt-unifiac-lite:
|
||||
./build-image.sh control/ubnt-unifiac-lite
|
||||
IMAGEBUILDER_URL='https://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/generic/openwrt-imagebuilder-18.06.0-ar71xx-generic.Linux-x86_64.tar.xz' ./build-image.sh control/ubnt-unifiac-lite
|
||||
|
||||
its: its-ubnt-unifiac-lite its-tl-wr841-v10
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@ tar -C "$BUILDDIR" -axf "$DLDIR"/"$imagebuilder"
|
|||
IMAGEBUILDER_DIR="$BUILDDIR"/"$(tar -atf "$DLDIR"/"$imagebuilder" | head -n1)"
|
||||
|
||||
profile=$(. "$CONTROL"; echo "${PROFILE}")
|
||||
target=$(. "$CONTROL"; echo "${TARGET}")
|
||||
subtarget=$(. "$CONTROL"; echo "${SUBTARGET}")
|
||||
|
||||
(
|
||||
IFS='
|
||||
|
@ -55,7 +57,7 @@ profile=$(. "$CONTROL"; echo "${PROFILE}")
|
|||
make image FILES="$tmp" 1>&2
|
||||
)
|
||||
|
||||
cp "$IMAGEBUILDER_DIR"/bin/targets/ar71xx/generic/lede*-ar71xx-generic-"${profile}"-squashfs-sysupgrade.bin "$IMAGEDIR"/
|
||||
cp "$IMAGEBUILDER_DIR"/bin/targets/ar71xx/"${subtarget}"/openwrt*-"${target}-${subtarget}-${profile}"-squashfs-sysupgrade.bin "$IMAGEDIR"/
|
||||
|
||||
{
|
||||
printf '%s\n' "Date: $(date -R)"
|
||||
|
@ -64,6 +66,6 @@ cp "$IMAGEBUILDER_DIR"/bin/targets/ar71xx/generic/lede*-ar71xx-generic-"${profil
|
|||
printf 'Checksums-Sha512:\n'
|
||||
{
|
||||
( cd "$DLDIR" ; sha512sum "$imagebuilder" )
|
||||
( cd "$IMAGEDIR"; sha512sum lede*-ar71xx-generic-"${profile}"-squashfs-sysupgrade.bin )
|
||||
( cd "$IMAGEDIR"; sha512sum openwrt*-"${target}-${subtarget}-${profile}"-squashfs-sysupgrade.bin )
|
||||
} | sed 's/^/ /'
|
||||
} > "$IMAGEDIR"/"${profile}".image-manifest
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
PROFILE=tl-wr841-v10
|
||||
TARGET=ar71xx
|
||||
SUBTARGET=tiny
|
||||
FILES=files/tl-wr841-v10
|
||||
COMMON_FILES=files/common/its
|
||||
PACKAGES='
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
PROFILE=ubnt-unifiac-lite
|
||||
FILES=files/ubnt-unifiac-lite
|
||||
TARGET=ar71xx
|
||||
SUBTARGET=generic
|
||||
COMMON_FILES=files/common/its
|
||||
PACKAGES='
|
||||
collectd
|
||||
|
|
Loading…
Reference in a new issue