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
|
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:
|
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:
|
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
|
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)"
|
IMAGEBUILDER_DIR="$BUILDDIR"/"$(tar -atf "$DLDIR"/"$imagebuilder" | head -n1)"
|
||||||
|
|
||||||
profile=$(. "$CONTROL"; echo "${PROFILE}")
|
profile=$(. "$CONTROL"; echo "${PROFILE}")
|
||||||
|
target=$(. "$CONTROL"; echo "${TARGET}")
|
||||||
|
subtarget=$(. "$CONTROL"; echo "${SUBTARGET}")
|
||||||
|
|
||||||
(
|
(
|
||||||
IFS='
|
IFS='
|
||||||
|
@ -55,7 +57,7 @@ profile=$(. "$CONTROL"; echo "${PROFILE}")
|
||||||
make image FILES="$tmp" 1>&2
|
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)"
|
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'
|
printf 'Checksums-Sha512:\n'
|
||||||
{
|
{
|
||||||
( cd "$DLDIR" ; sha512sum "$imagebuilder" )
|
( 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/^/ /'
|
} | sed 's/^/ /'
|
||||||
} > "$IMAGEDIR"/"${profile}".image-manifest
|
} > "$IMAGEDIR"/"${profile}".image-manifest
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
PROFILE=tl-wr841-v10
|
PROFILE=tl-wr841-v10
|
||||||
|
TARGET=ar71xx
|
||||||
|
SUBTARGET=tiny
|
||||||
FILES=files/tl-wr841-v10
|
FILES=files/tl-wr841-v10
|
||||||
COMMON_FILES=files/common/its
|
COMMON_FILES=files/common/its
|
||||||
PACKAGES='
|
PACKAGES='
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
PROFILE=ubnt-unifiac-lite
|
PROFILE=ubnt-unifiac-lite
|
||||||
FILES=files/ubnt-unifiac-lite
|
FILES=files/ubnt-unifiac-lite
|
||||||
|
TARGET=ar71xx
|
||||||
|
SUBTARGET=generic
|
||||||
COMMON_FILES=files/common/its
|
COMMON_FILES=files/common/its
|
||||||
PACKAGES='
|
PACKAGES='
|
||||||
collectd
|
collectd
|
||||||
|
|
Loading…
Reference in a new issue