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:
parent
631e90c985
commit
668434388c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user