mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-29 15:22:00 +02:00
Compare commits
1 Commits
631e90c985
...
668434388c
Author | SHA1 | Date | |
---|---|---|---|
|
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
|
||||||
|
Reference in New Issue
Block a user