diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-22 20:49:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-25 12:44:12 +0000 |
commit | be145ad5dc4edfd7dffc74b8970aaafd0eb247f7 (patch) | |
tree | e8994340c4b994e244344e35abe6112dcf075d8d /meta/recipes-core/busybox/busybox_1.24.1.bb | |
parent | 716fa93a8e0ce83bc602e53cf03b63c7966eaf4b (diff) | |
download | poky-be145ad5dc4edfd7dffc74b8970aaafd0eb247f7.tar.gz |
busybox: Add support for busybox-init
in config metadata we can configure busybox based init and device
initializer ( mdev ) using e.g.
VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
VIRTUAL-RUNTIME_login_manager = "busybox"
VIRTUAL-RUNTIME_init_manager = "busybox"
VIRTUAL-RUNTIME_initscripts = "initscripts"
VIRTUAL-RUNTIME_keymaps = "keymaps"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
busybox can be used to provide init system
combined with mdev it makes it a complete init
system for really tiny systems.
This patch uses above defines to configure features in busybox to enable
the init system and mdev in a configurable manner
(From OE-Core rev: 75cb4fe38fade382450c5f6f35d5dcf55962143e)
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_1.24.1.bb')
-rw-r--r-- | meta/recipes-core/busybox/busybox_1.24.1.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox_1.24.1.bb b/meta/recipes-core/busybox/busybox_1.24.1.bb index 5e19d9c605..8adee53911 100644 --- a/meta/recipes-core/busybox/busybox_1.24.1.bb +++ b/meta/recipes-core/busybox/busybox_1.24.1.bb | |||
@@ -39,6 +39,12 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | |||
39 | file://sha256sum.cfg \ | 39 | file://sha256sum.cfg \ |
40 | file://getopts.cfg \ | 40 | file://getopts.cfg \ |
41 | file://resize.cfg \ | 41 | file://resize.cfg \ |
42 | ${@["", "file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'busybox')]} \ | ||
43 | ${@["", "file://mdev.cfg"][(d.getVar('VIRTUAL-RUNTIME_dev_manager', True) == 'busybox-mdev')]} \ | ||
44 | file://inittab \ | ||
45 | file://rcS \ | ||
46 | file://rcK \ | ||
47 | file://runlevel \ | ||
42 | " | 48 | " |
43 | SRC_URI_append_libc-musl = " file://musl.cfg " | 49 | SRC_URI_append_libc-musl = " file://musl.cfg " |
44 | 50 | ||