mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-02-13 13:22:47 +01:00
fix partition problem
This commit is contained in:
parent
94d91ed6ee
commit
d59c841650
@ -17,7 +17,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
if [ -f "/boot/home_partition_should_be_formated" ]; then
|
if [ -f "/boot/home_partition_should_be_formated" ]; then
|
||||||
echo "Trying to format the home partition"
|
echo "Trying to format the home partition"
|
||||||
umount /dev/mmcblk0p3
|
umount /dev/mmcblk0p4
|
||||||
yes | mkfs.ext4 /dev/mmcblk0p4
|
yes | mkfs.ext4 /dev/mmcblk0p4
|
||||||
mount /dev/mmcblk0p4 /home
|
mount /dev/mmcblk0p4 /home
|
||||||
mkdir -p /home/diya
|
mkdir -p /home/diya
|
||||||
|
Loading…
x
Reference in New Issue
Block a user