This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 64b6bbb0c07 sched/Kconfig: Fix ETC_ROMFS dependency
64b6bbb0c07 is described below
commit 64b6bbb0c07c17f7238a5f8e67fadd9bd6c314fa
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