1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-08-01 13:40:50 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
d59c841650 fix partition problem 2023-07-10 11:47:22 +02:00
94d91ed6ee fix partition problem 2023-07-10 11:47:05 +02:00

View File

@ -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