mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-02-21 00:22: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
|
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/mmcblk0p3
|
||||||
yes | mkfs.ext4 /dev/mmcblk0p3
|
yes | mkfs.ext4 /dev/mmcblk0p4
|
||||||
mount /dev/mmcblk0p3 /home
|
mount /dev/mmcblk0p4 /home
|
||||||
mkdir -p /home/diya
|
mkdir -p /home/diya
|
||||||
chown -R diya:diya /home/diya
|
chown -R diya:diya /home/diya
|
||||||
rm /boot/home_partition_should_be_formated
|
rm /boot/home_partition_should_be_formated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user