mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-07-31 05:00:42 +02:00
add system update tools
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user