summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-01-22 20:49:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-25 12:44:12 +0000
commitbe145ad5dc4edfd7dffc74b8970aaafd0eb247f7 (patch)
treee8994340c4b994e244344e35abe6112dcf075d8d /meta/recipes-core/busybox/busybox
parent716fa93a8e0ce83bc602e53cf03b63c7966eaf4b (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-core/busybox/busybox/init.cfg3
-rw-r--r--meta/recipes-core/busybox/busybox/mdev.cfg11
2 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/init.cfg b/meta/recipes-core/busybox/busybox/init.cfg
new file mode 100644
index 0000000000..006d4c633e
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/init.cfg
@@ -0,0 +1,3 @@
1CONFIG_INIT=y
2CONFIG_FEATURE_USE_INITTAB=y
3
diff --git a/meta/recipes-core/busybox/busybox/mdev.cfg b/meta/recipes-core/busybox/busybox/mdev.cfg
new file mode 100644
index 0000000000..6aefe90e43
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/mdev.cfg
@@ -0,0 +1,11 @@
1CONFIG_MDEV=y
2CONFIG_FEATURE_MDEV_CONF=y
3CONFIG_FEATURE_MDEV_RENAME=y
4CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
5CONFIG_FEATURE_MDEV_EXEC=y
6CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
7
8CONFIG_SETSID=y
9CONFIG_CTTYHACK=y
10
11CONFIG_FEATURE_SHADOWPASSWDS=y