package/skeleton: introduce sysv, systemd and none specific skeletons
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 1 Aug 2017 22:52:20 +0000 (00:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 2 Aug 2017 17:49:06 +0000 (19:49 +0200)
commitc0fd0ac6558f976dcb58e92969df4925a83198b5
tree080170323cbf4578adf7502c74cc28357c0aa39c
parent175a96c4909104bde706fa0e1f9010af8b252caa
package/skeleton: introduce sysv, systemd and none specific skeletons

Currently, we use the same skeleton for sysv-like init systems and
systemd, even though systemd has some peculiarities that makes our
default skeleton unfit.

So, we'll need to provide different skeletons (really, only part of
it) for sysv-like and systemd. In addition, in order to support the
"no init system" (BR2_INIT_NONE) use case, we introduce a "none"
skeleton.

Introduce three new skeleton packages, aptly named skeleton-sysv,
skeleton-systemd and skeleton-none. All three are providers of the
skeleton virtual package, in lieu of the skeleton-common package,
which is now a simple dependency of all three new skeletons.

Those packages are empty for now. In followup changes:
  - sysv-specific stuff will be moved out of skeleton-common and into
    skeleton-sysv;
  - systemd-specific stuff will be added to skeleton-systemd.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Arnout:
 - merge with the patch that enables the BR2_INIT_NONE case
 - simplify the BR2_PACKAGE_SKELETON_COMMON_ONLY select logic]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - remove the BR2_PACKAGE_SKELETON_COMMON_ONLY logic, and instead
   introduce a separate skeleton-none package for the BR2_INIT_NONE]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/skeleton-common/Config.in
package/skeleton-common/skeleton-common.mk
package/skeleton-none/Config.in [new file with mode: 0644]
package/skeleton-none/skeleton-none.mk [new file with mode: 0644]
package/skeleton-systemd/Config.in [new file with mode: 0644]
package/skeleton-systemd/skeleton-systemd.mk [new file with mode: 0644]
package/skeleton-sysv/Config.in [new file with mode: 0644]
package/skeleton-sysv/skeleton-sysv.mk [new file with mode: 0644]
system/Config.in