]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/skeleton: select it rather than default to y
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 25 Jul 2017 21:14:24 +0000 (23:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 31 Jul 2017 21:58:17 +0000 (23:58 +0200)
Our current skeleton is tailored to sysv-like init systems; it is not
fit for systemd-based systems. So, in upcoming changes, we'll add
another skeleton for systemd.

This means we can no longer have the current skeleton default to 'y', or
it would be enabled also for systemd, which would be incorrect.

So, we remove the default to 'y' but have it selected by the default
skeleton choice.

However, we do not yet have a way to directly build (really, install)
the custom skeleton, it is built (really, installed) as a dependency of
the default skeleton. So we must also forcibly select the default
skeleton when using a custom one.

Until we have the means to do only one or the other; i.e. when we have a
virtual skeleton.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/skeleton/Config.in
system/Config.in

index d25147bd92a25f42341a8a35dba1bf0c5d1f581b..b22ac66b3598cf8da5a2c858a3d698d9ed227d00 100644 (file)
@@ -1,5 +1,4 @@
 config BR2_PACKAGE_SKELETON
        bool
-       default y
        help
          The basic skeleton for your rootfs.
index 1ee76e8e472493a0f70ed986c41e52a445304e3f..b2f5be376efe7d9a6816e97aeea9674e9a03e607 100644 (file)
@@ -5,11 +5,13 @@ choice
 
 config BR2_ROOTFS_SKELETON_DEFAULT
        bool "default target skeleton"
+       select BR2_PACKAGE_SKELETON
        help
          Use default target skeleton
 
 config BR2_ROOTFS_SKELETON_CUSTOM
        bool "custom target skeleton"
+       select BR2_PACKAGE_SKELETON
        help
          Use custom target skeleton.