mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 18:32:45 +01:00
add swupdate to rootfs too
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
@@ -9,7 +9,7 @@ root_mount=/tmp/rootfs
|
||||
|
||||
do_preinst()
|
||||
{
|
||||
notif "1/5 Extract update"
|
||||
notif "1/5 Extract firmware update..."
|
||||
exit 0
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ do_postinst()
|
||||
notif "Cannot unmount root filesystem"
|
||||
exit 1
|
||||
fi
|
||||
for file in $(ls /mnt/FunKey-rootfs-*.swu); do
|
||||
for file in $(ls /mnt/FunKey-rootfs-*.fwu); do
|
||||
notif "5/5 Erase update file"
|
||||
rm -f "${file}"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user