system: allow selecting merged /usr along with custom rootfs skeleton
authorCarlos Santos <casantos@datacom.ind.br>
Mon, 7 May 2018 14:44:31 +0000 (11:44 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 6 Feb 2019 16:11:38 +0000 (17:11 +0100)
If the user is brave enough to use a custom rootfs skeleton then we must
not prevent using merged /usr too. Actually it is already possible to do
this, although indirectly, by selecting BR2_INIT_SYSTEMD.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
system/Config.in

index 9941807e5d9ba3b543380c705251861a851757f2..498b56e222aa969a33385496dec3c4440c2392bb 100644 (file)
@@ -31,10 +31,6 @@ config BR2_ROOTFS_SKELETON_CUSTOM_PATH
        help
          Path to custom target skeleton.
 
-# dummy config so merged /usr workarounds can also be activated for
-# custom rootfs skeleton
-config BR2_ROOTFS_MERGED_USR
-
 endif
 
 if BR2_ROOTFS_SKELETON_DEFAULT
@@ -192,8 +188,6 @@ config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES
        help
          Support extended attributes handling in device tables
 
-if BR2_ROOTFS_SKELETON_DEFAULT
-
 config BR2_ROOTFS_MERGED_USR
        bool "Use symlinks to /usr for /bin, /sbin and /lib"
        help
@@ -206,6 +200,8 @@ config BR2_ROOTFS_MERGED_USR
          symlinks to their counterparts in /usr. In this case, /usr can
          not be a separate filesystem.
 
+if BR2_ROOTFS_SKELETON_DEFAULT
+
 config BR2_TARGET_ENABLE_ROOT_LOGIN
        bool "Enable root login with password"
        default y