mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-01 13:40:50 +02:00
add system update tools
This commit is contained in:
@ -45,7 +45,7 @@ rootfs()
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo "Installing new rootfs"
|
echo "Installing new rootfs"
|
||||||
if ! tar --same-owner -xpvf "$path" -C $TMP_MOUNT; then
|
if ! tar -xpvf "$path" -C $TMP_MOUNT; then
|
||||||
echo "Error: unable to install new rootfs. Restore and quit"
|
echo "Error: unable to install new rootfs. Restore and quit"
|
||||||
umount $TMP_MOUNT
|
umount $TMP_MOUNT
|
||||||
dd if=$backup_file of=$ROOTFS_DEV
|
dd if=$backup_file of=$ROOTFS_DEV
|
||||||
|
Reference in New Issue
Block a user