summaryrefslogtreecommitdiffstats
path: root/recipes-core/busybox/busybox-initrd
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-09-21 17:29:23 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-09-22 15:51:13 -0400
commitd0ef2f0bf7551383cdb9f9adc3167530d674b22c (patch)
treeeb6ba1c2ff65d24bf925a1dbb832a16522b05bea /recipes-core/busybox/busybox-initrd
parentbaf30af86f0da867f688246b8af37713986228a7 (diff)
downloadmeta-virtualization-d0ef2f0bf7551383cdb9f9adc3167530d674b22c.tar.gz
busybox: add initrd variant
Add a busybox variant that inherits almost all of its support from the core busybox recipe, but adds configuration values that are appropriate to be used in an initrd. In particular: - we build busybox statically - we enable runlevel and init functionality - mdev is always enabled - applet install support is enabled Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-core/busybox/busybox-initrd')
-rw-r--r--recipes-core/busybox/busybox-initrd/initrd.cfg14
-rw-r--r--recipes-core/busybox/busybox-initrd/runx.cfg1
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes-core/busybox/busybox-initrd/initrd.cfg b/recipes-core/busybox/busybox-initrd/initrd.cfg
new file mode 100644
index 00000000..9f64c4c6
--- /dev/null
+++ b/recipes-core/busybox/busybox-initrd/initrd.cfg
@@ -0,0 +1,14 @@
1CONFIG_INIT=y
2CNOFIG_FEATURE_UTMP=y
3CONFIG_RUNLEVEL=y
4CONFIG_FEATURE_USE_INITTAB=y
5CONFIG_HALT=y
6CONFIG_POWEROFF=y
7CONFIG_FEATURE_KILL_DELAY=0
8CONFIG_TELINIT_PATH=""
9CONFIG_INIT_TERMINAL_TYPE=""
10
11# CONFIG_FEATURE_SHADOWPASSWDS is not set
12CONFIG_USE_BB_PWD_GRP=y
13
14CONFIG_STATIC=y
diff --git a/recipes-core/busybox/busybox-initrd/runx.cfg b/recipes-core/busybox/busybox-initrd/runx.cfg
new file mode 100644
index 00000000..1f1ac6af
--- /dev/null
+++ b/recipes-core/busybox/busybox-initrd/runx.cfg
@@ -0,0 +1 @@
CONFIG_FEATURE_INSTALLER=y