diff options
| author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2015-07-13 23:00:08 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-14 01:51:52 +0200 |
| commit | 89d39fc7a392530be043bac541ade0bef746edb6 (patch) | |
| tree | 7ca4a2f38d7153867b049ffaec4c34a03461cdfb /package/sysvinit | |
| parent | 4d1a9d8cd8f4722ecb059552ebb837eef53f7a95 (diff) | |
| download | buildroot-89d39fc7a392530be043bac541ade0bef746edb6.tar.gz buildroot-89d39fc7a392530be043bac541ade0bef746edb6.zip | |
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>
Diffstat (limited to 'package/sysvinit')
| -rw-r--r-- | package/sysvinit/sysvinit.mk | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index 53640a4d9f..2460dd9223 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -34,8 +34,6 @@ define SYSVINIT_INSTALL_TARGET_CMDS for x in halt init shutdown killall5; do \ $(INSTALL) -D -m 0755 $(@D)/src/$$x $(TARGET_DIR)/sbin/$$x || exit 1; \ done - # Override BusyBox's inittab with an inittab compatible with - # sysvinit $(INSTALL) -D -m 0644 package/sysvinit/inittab $(TARGET_DIR)/etc/inittab ln -sf /sbin/halt $(TARGET_DIR)/sbin/reboot ln -sf /sbin/halt $(TARGET_DIR)/sbin/poweroff |

