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:
@ -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
|
||||
|
Reference in New Issue
Block a user