1
0
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:
DanyLE 2023-08-02 18:07:55 +02:00
parent c0bc10f434
commit 631e90c985

View File

@ -37,7 +37,7 @@ rootfs()
dd if=$backup_file of=$ROOTFS_DEV dd if=$backup_file of=$ROOTFS_DEV
return 1 return 1
fi fi
mkdir -p $TMP_MOUNT
echo "Mount rootfs partition to $TMP_MOUNT" echo "Mount rootfs partition to $TMP_MOUNT"
if ! mount $ROOTFS_DEV $TMP_MOUNT; then if ! mount $ROOTFS_DEV $TMP_MOUNT; then
echo "Error: Unable to mount rootfs partition. Restore and quit" echo "Error: Unable to mount rootfs partition. Restore and quit"