initscripts: new package
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 13 Jul 2015 21:00:08 +0000 (23:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Jul 2015 23:51:52 +0000 (01:51 +0200)
commit89d39fc7a392530be043bac541ade0bef746edb6
tree7ca4a2f38d7153867b049ffaec4c34a03461cdfb
parent4d1a9d8cd8f4722ecb059552ebb837eef53f7a95
initscripts: new package

The folder init.d is currently installed by default since it's part of
our skeleton.
This patch creates a package out of it and make busybox/sysvinit depends
on it.

This way, if you chose another init, you don't end up with a useless
init.d folder.

[Thomas:
  - make the initscripts package selectable via a hidden bool
  - remove some unneeded changes in sysvinit.mk.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 files changed:
package/Config.in
package/busybox/busybox.mk
package/busybox/inittab [new file with mode: 0644]
package/initscripts/Config.in [new file with mode: 0644]
package/initscripts/init.d/S20urandom [new file with mode: 0755]
package/initscripts/init.d/S40network [new file with mode: 0755]
package/initscripts/init.d/rcK [new file with mode: 0755]
package/initscripts/init.d/rcS [new file with mode: 0755]
package/initscripts/initscripts.mk [new file with mode: 0644]
package/sysvinit/sysvinit.mk
system/Config.in
system/skeleton/etc/init.d/S20urandom [deleted file]
system/skeleton/etc/init.d/S40network [deleted file]
system/skeleton/etc/init.d/rcK [deleted file]
system/skeleton/etc/init.d/rcS [deleted file]
system/skeleton/etc/inittab [deleted file]