rcS: Define identifier for init system used

This will help in defining init system specific portions of initscripts
which are shared

(From OE-Core rev: 12380bccce7b87b755d1e24620c397641e88f656)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2020-12-18 18:23:41 -08:00
committed by Richard Purdie
parent 0aa8f592df
commit 5cb971b4fd
2 changed files with 5 additions and 1 deletions

View File

@@ -1 +1,2 @@
# SULOGIN = "yes"
# Indicate init system type
INIT_SYSTEM=busybox

View File

@@ -27,3 +27,6 @@ VOLATILE_ENABLE_CACHE=yes
# Setting ROOTFS_READ_ONLY to yes and rebooting will give you a read-only rootfs.
# Normally you should not change this value.
ROOTFS_READ_ONLY=no
# rcS is also used when using busybox init and shares initscripts, some initscripts
# need to have specific behavior depending on init system
INIT_SYSTEM=sysvinit