mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-08-02 14:11:19 +02:00
Compare commits
2 Commits
edf2889417
...
d59c841650
Author | SHA1 | Date | |
---|---|---|---|
d59c841650 | |||
94d91ed6ee |
@ -17,9 +17,9 @@ 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/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
|
||||||
|
Reference in New Issue
Block a user