diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-09-21 17:29:23 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-09-22 15:51:13 -0400 |
commit | d0ef2f0bf7551383cdb9f9adc3167530d674b22c (patch) | |
tree | eb6ba1c2ff65d24bf925a1dbb832a16522b05bea /recipes-core/busybox/busybox-initrd | |
parent | baf30af86f0da867f688246b8af37713986228a7 (diff) | |
download | meta-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.cfg | 14 | ||||
-rw-r--r-- | recipes-core/busybox/busybox-initrd/runx.cfg | 1 |
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 @@ | |||
1 | CONFIG_INIT=y | ||
2 | CNOFIG_FEATURE_UTMP=y | ||
3 | CONFIG_RUNLEVEL=y | ||
4 | CONFIG_FEATURE_USE_INITTAB=y | ||
5 | CONFIG_HALT=y | ||
6 | CONFIG_POWEROFF=y | ||
7 | CONFIG_FEATURE_KILL_DELAY=0 | ||
8 | CONFIG_TELINIT_PATH="" | ||
9 | CONFIG_INIT_TERMINAL_TYPE="" | ||
10 | |||
11 | # CONFIG_FEATURE_SHADOWPASSWDS is not set | ||
12 | CONFIG_USE_BB_PWD_GRP=y | ||
13 | |||
14 | CONFIG_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 | |||