1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-06-29 05:59:48 +02: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
if ! tar -xpvf --same-owner "$path" .; then
echo "Error: unable to install new rootfs. Restore and quit"
cd
umount $TMP_MOUNT
dd if=$backup_file of=$ROOTFS_DEV
return 1