mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
add system update tools
This commit is contained in:
parent
d39686df00
commit
2f3f3699b3
@ -45,7 +45,7 @@ rootfs()
|
||||
return 1
|
||||
fi
|
||||
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"
|
||||
umount $TMP_MOUNT
|
||||
dd if=$backup_file of=$ROOTFS_DEV
|
||||
|
Loading…
Reference in New Issue
Block a user