Initial commit
This commit is contained in:
18
build-update.sh
Executable file
18
build-update.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# vim: set sw=4 ts=4 sts=4 et :
|
||||
|
||||
set -e
|
||||
|
||||
. ./config
|
||||
|
||||
cd images
|
||||
sha256sum firmware.img > digests
|
||||
sha256sum rootfs.squashfs >> digests
|
||||
ln ../install-update.sh install
|
||||
tar -c --zstd -f ../output/update.tar.zstd \
|
||||
digests \
|
||||
firmware.img \
|
||||
rootfs.squashfs \
|
||||
install \
|
||||
|| exit
|
||||
rm install
|
||||
Reference in New Issue
Block a user