1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

fix partition problem

This commit is contained in:
DanyLE
2023-07-10 11:38:42 +02:00
parent 02e083d995
commit aa92ff2454
2 changed files with 4 additions and 2 deletions

View File

@ -19,8 +19,10 @@ case "$1" in
echo "Trying to format the home partition"
umount /dev/mmcblk0p3
yes | mkfs.ext4 /dev/mmcblk0p3
mount /dev/mmcblk0p3 /home
mkdir -p /home/diya
chown -R diya:diya /home/diya
rm /boot/home_partition_should_be_formated
reboot
fi
if [ -e "/boot/wpa_supplicant.conf" ];then
install -m 0644 /boot/wpa_supplicant.conf /var/etc/network