From 56d23183e19873f47111505520a20198fc01540e Mon Sep 17 00:00:00 2001 From: nagumii Date: Tue, 7 Jan 2025 20:37:48 +0200 Subject: [PATCH] Finish folding fsresize into runonce --- .../BoardConfig_IPC/overlay/overlay-luckfox-ubuntu/etc/rc.local | 2 +- foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot 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 c8a499a..fcdbf1d 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 @@ -6,7 +6,7 @@ luckfox-config load #run only on first boot -if [ -e "/usr/local/bin/.firstboot" ]; then +if [ -e "/etc/.firstboot" ]; then /usr/local/bin/femto-runonce.sh fi diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot new file mode 100644 index 0000000..e60fd6a --- /dev/null +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/etc/.firstboot @@ -0,0 +1 @@ +# File to tell rc.local that this is the first boot. Will be deleted automatically. \ No newline at end of file