1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00

fix partition problem

This commit is contained in:
DanyLE 2023-07-10 11:47:22 +02:00
parent 94d91ed6ee
commit d59c841650

View File

@ -17,7 +17,7 @@ case "$1" in
fi
if [ -f "/boot/home_partition_should_be_formated" ]; then
echo "Trying to format the home partition"
umount /dev/mmcblk0p3
umount /dev/mmcblk0p4
yes | mkfs.ext4 /dev/mmcblk0p4
mount /dev/mmcblk0p4 /home
mkdir -p /home/diya