mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-02-15 14:12:47 +01:00
fix partition problem
This commit is contained in:
parent
edf2889417
commit
94d91ed6ee
@ -18,8 +18,8 @@ case "$1" in
|
||||
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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user