This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch releases/13.0
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/releases/13.0 by this push:
new 88f3968d3be sched/Kconfig: Fix ETC_ROMFS dependency
88f3968d3be is described below
commit 88f3968d3be143b01f84fd8c323bdd4b11b177bf
Author: Jukka Laitinen <[email protected]>
AuthorDate: Tue Jun 9 13:50:33 2026 +0300
sched/Kconfig: Fix ETC_ROMFS dependency
When using FS_CROMFS for etc, user typically don't need FS_ROMFS,
they are completely separate filesystems. But both ETC_ROMFS and
ETC_CROMFS are needed, the first one selects that the ETC needs
to be mounted from ROM based filesystem, and ETC_CROMFS just specifies
that the backing filesystem is actually the CROMFS.
Iow; make ETC_ROMFS depend on FS_ROMFS || FS_CROMFS, so that the
user can drop FS_ROMFS when only FS_CROMFS is needed.
Signed-off-by: Jukka Laitinen <[email protected]>
---
sched/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sched/Kconfig b/sched/Kconfig
index a2c6fbff12f..9b4ed4c82c8 100644
--- a/sched/Kconfig
+++ b/sched/Kconfig
@@ -534,9 +534,9 @@ endif # INIT_FILE
menuconfig ETC_ROMFS
bool "Auto-mount etc baked-in ROMFS image"
default n
- depends on !DISABLE_MOUNTPOINT && FS_ROMFS
+ depends on !DISABLE_MOUNTPOINT && (FS_ROMFS || FS_CROMFS)
---help---
- Mount a ROMFS filesystem at /etc and provide a system init
+ Mount a ROMFS or a CROMFS filesystem at /etc and provide a
system init
script at /etc/init.d/rc.sysinit and a startup script
at /etc/init.d/rcS. The default system init script mounts
/tmp as TMPFS when FS_TMPFS is enabled, otherwise it can