diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-12-17 14:54:38 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-20 00:03:05 +0000 |
commit | 9a52a44a05c9b66e4c39823101b259ea7e28cc19 (patch) | |
tree | 7a972b39f05da7328ff5cfba44b5ce40134236a9 /meta/recipes-core/busybox/busybox.inc | |
parent | a8af9db08c57e828caa9d5893aa5b8fca44cdddf (diff) | |
download | poky-9a52a44a05c9b66e4c39823101b259ea7e28cc19.tar.gz |
busybox: Install /etc/default/rcS when used as init system
This helps in using sysvinit scripts with busybox init system as well
(From OE-Core rev: 991394be9e695f9ddb5e2fca167c06f7a56a7449)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox.inc')
-rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index e0522be729..c3a97261d5 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc | |||
@@ -312,6 +312,7 @@ do_install () { | |||
312 | if grep -q "CONFIG_INIT=y" ${B}/.config; then | 312 | if grep -q "CONFIG_INIT=y" ${B}/.config; then |
313 | install -D -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS | 313 | install -D -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS |
314 | install -D -m 0755 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK | 314 | install -D -m 0755 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK |
315 | install -D -m 0755 ${WORKDIR}/rcS.default ${D}${sysconfdir}/default/rcS | ||
315 | fi | 316 | fi |
316 | 317 | ||
317 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 318 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |