diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-12-18 18:23:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-20 00:03:05 +0000 |
commit | 5cb971b4fd393a5bc43b9010a77f98bd19343a3f (patch) | |
tree | 343c190a924e1b4b28945dc93902877459753d3b /meta/recipes-core | |
parent | 0aa8f592df9a43a242d5470b983fb55b1469ac69 (diff) | |
download | poky-5cb971b4fd393a5bc43b9010a77f98bd19343a3f.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/busybox/files/rcS.default | 3 | ||||
-rw-r--r-- | meta/recipes-core/sysvinit/sysvinit/rcS-default | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/files/rcS.default b/meta/recipes-core/busybox/files/rcS.default index 262cad7d2a..66513daf2d 100644 --- a/meta/recipes-core/busybox/files/rcS.default +++ b/meta/recipes-core/busybox/files/rcS.default | |||
@@ -1 +1,2 @@ | |||
1 | # SULOGIN = "yes" | 1 | # Indicate init system type |
2 | INIT_SYSTEM=busybox | ||
diff --git a/meta/recipes-core/sysvinit/sysvinit/rcS-default b/meta/recipes-core/sysvinit/sysvinit/rcS-default index 709cdf6ec5..e608a77c75 100644 --- a/meta/recipes-core/sysvinit/sysvinit/rcS-default +++ b/meta/recipes-core/sysvinit/sysvinit/rcS-default | |||
@@ -27,3 +27,6 @@ VOLATILE_ENABLE_CACHE=yes | |||
27 | # Setting ROOTFS_READ_ONLY to yes and rebooting will give you a read-only rootfs. | 27 | # Setting ROOTFS_READ_ONLY to yes and rebooting will give you a read-only rootfs. |
28 | # Normally you should not change this value. | 28 | # Normally you should not change this value. |
29 | ROOTFS_READ_ONLY=no | 29 | ROOTFS_READ_ONLY=no |
30 | # rcS is also used when using busybox init and shares initscripts, some initscripts | ||
31 | # need to have specific behavior depending on init system | ||
32 | INIT_SYSTEM=sysvinit | ||