diff --git a/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local b/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local index 671cc72..4585344 100755 --- a/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local +++ b/foxbuntu/project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local @@ -1,8 +1,5 @@ #!/bin/bash -# not really needed after first boot -/usr/bin/filesystem_resize.sh - # supposedly needed for usb storage, but works anyway #/etc/init.d/S50usbdevice start diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh index 890d593..6ffb2ee 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh @@ -1,5 +1,8 @@ #!/bin/bash +#resize filesystem to fill partition +/usr/bin/filesystem_resize.sh + # prevent randomized mac address for eth0 msg="First boot: Setting eth0 MAC address to derivative of CPU s/n." echo "$msg"