From 523f78f43ef4ffef95a70e1bc959701e38dac2c2 Mon Sep 17 00:00:00 2001 From: nagumii Date: Sun, 15 Dec 2024 19:20:38 +0200 Subject: [PATCH] Moved filesystem resize to runonce.sh --- .../overlay/overlay-luckfox-ubuntu/etc/rc.local | 3 --- .../sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/runonce.sh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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"