1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-27 11:08:21 +01:00

add system update tools

This commit is contained in:
DanyLE 2023-08-02 18:13:31 +02:00
parent 631e90c985
commit 668434388c

View File

@ -48,6 +48,7 @@ rootfs()
cd $TMP_MOUNT cd $TMP_MOUNT
if ! tar -xpvf --same-owner "$path" .; then if ! tar -xpvf --same-owner "$path" .; then
echo "Error: unable to install new rootfs. Restore and quit" echo "Error: unable to install new rootfs. Restore and quit"
cd
umount $TMP_MOUNT umount $TMP_MOUNT
dd if=$backup_file of=$ROOTFS_DEV dd if=$backup_file of=$ROOTFS_DEV
return 1 return 1