add swupdate to rootfs too

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK
2020-11-05 14:46:49 +01:00
parent d7b0cdedca
commit 0f408f3b63
8 changed files with 152 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ update: fun
@cd tmp && \
echo sw-description rootfs.ext2.gz update_partition | \
tr " " "\n" | \
cpio -o -H crc --quiet > ../images/FunKey-rootfs-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2).swu
cpio -o -H crc --quiet > ../images/FunKey-rootfs-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2).fwu
@rm -rf tmp
defconfig: