mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-01 13:40:50 +02:00
Compare commits
2 Commits
edf2889417
...
d59c841650
Author | SHA1 | Date | |
---|---|---|---|
d59c841650 | |||
94d91ed6ee |
@ -17,9 +17,9 @@ case "$1" in
|
||||
fi
|
||||
if [ -f "/boot/home_partition_should_be_formated" ]; then
|
||||
echo "Trying to format the home partition"
|
||||
umount /dev/mmcblk0p3
|
||||
yes | mkfs.ext4 /dev/mmcblk0p3
|
||||
mount /dev/mmcblk0p3 /home
|
||||
umount /dev/mmcblk0p4
|
||||
yes | mkfs.ext4 /dev/mmcblk0p4
|
||||
mount /dev/mmcblk0p4 /home
|
||||
mkdir -p /home/diya
|
||||
chown -R diya:diya /home/diya
|
||||
rm /boot/home_partition_should_be_formated
|
||||
|
Reference in New Issue
Block a user