rootfs: resize works, need to reboot: /dev/root 15G 1.6G 13G 12% /

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
parent 20953de1ae
commit 4b764c95bc

@ -60,10 +60,10 @@ rm -rf ./ignore/.root/etc/systemd/network/usb1.network || true
rm -rf ./ignore/.root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service || true rm -rf ./ignore/.root/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service || true
rm -rf ./ignore/.root/usr/lib/systemd/system/grow_partition.service || true #rm -rf ./ignore/.root/usr/lib/systemd/system/grow_partition.service || true
cd ./ignore/.root/ #cd ./ignore/.root/
ln -L -f -s -v /lib/systemd/system/resize_filesystem.service --target-directory=./etc/systemd/system/multi-user.target.wants/ #ln -L -f -s -v /lib/systemd/system/resize_filesystem.service --target-directory=./etc/systemd/system/multi-user.target.wants/
cd ../../ #cd ../../
cp -v ./ignore/.root/etc/bbb.io/templates/eth0-DHCP.network ./ignore/.root/etc/systemd/network/eth0.network || true cp -v ./ignore/.root/etc/bbb.io/templates/eth0-DHCP.network ./ignore/.root/etc/systemd/network/eth0.network || true
@ -82,7 +82,7 @@ echo 'File Size'
du -sh ignore/.root/ || true du -sh ignore/.root/ || true
echo '---------------------' echo '---------------------'
dd if=/dev/zero of=./deploy/input/root.ext4 bs=1 count=0 seek=4000M dd if=/dev/zero of=./deploy/input/root.ext4 bs=1 count=0 seek=2048M
mkfs.ext4 -F ./deploy/input/root.ext4 -d ./ignore/.root mkfs.ext4 -F ./deploy/input/root.ext4 -d ./ignore/.root
if [ -f ./.06_generate_root.sh ] ; then if [ -f ./.06_generate_root.sh ] ; then

@ -317,7 +317,7 @@
}; };
&usb { &usb {
dma-noncoherent; //dma-noncoherent;
status = "okay"; status = "okay";
dr_mode = "otg"; dr_mode = "otg";
}; };

Loading…
Cancel
Save