]> code.ossystems Code Review - openembedded-core.git/commitdiff
rcS: Define identifier for init system used
authorKhem Raj <raj.khem@gmail.com>
Sat, 19 Dec 2020 02:23:41 +0000 (18:23 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Dec 2020 00:03:01 +0000 (00:03 +0000)
This will help in defining init system specific portions of initscripts
which are shared

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/files/rcS.default
meta/recipes-core/sysvinit/sysvinit/rcS-default

index 262cad7d2aa1995ecd1da260a2315fb8f5c7380b..66513daf2d9b8f1f514d7402e172768f36be308b 100644 (file)
@@ -1 +1,2 @@
-# SULOGIN = "yes"
+# Indicate init system type
+INIT_SYSTEM=busybox
index 709cdf6ec545e4465e6612e025942b3c185cb804..e608a77c7560a1e58c585c9e5aa3a70f147bbcc1 100644 (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