mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-07-13 14:14:23 +02:00
Compare commits
1 Commits
2f3f3699b3
...
5004ec3efa
Author | SHA1 | Date | |
---|---|---|---|
5004ec3efa |
@ -51,6 +51,14 @@ rootfs()
|
|||||||
dd if=$backup_file of=$ROOTFS_DEV
|
dd if=$backup_file of=$ROOTFS_DEV
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
echo "Patch /etc/fstab"
|
||||||
|
cat << EOF >> $TMP_MOUNT/etc/fstab
|
||||||
|
|
||||||
|
/dev/mmcblk0p1 /boot vfat defaults 0 0
|
||||||
|
/dev/mmcblk0p3 /var/etc ext4 defaults 0 0
|
||||||
|
/dev/mmcblk0p4 /home ext4 defaults 0 0
|
||||||
|
|
||||||
|
EOF
|
||||||
sync
|
sync
|
||||||
echo "Unmount the rootfs partition"
|
echo "Unmount the rootfs partition"
|
||||||
umount $TMP_MOUNT
|
umount $TMP_MOUNT
|
||||||
|
Reference in New Issue
Block a user