mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
busybox: vmsep distro feature modifications
If "vmsep" is in distro features, we need to configure busybox as a static build. This allows for it to be used as party of an initrd. We also ensure that the installer support is added to busybox, so it can be installed to the initrd via: busybox --install Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
This commit is contained in:
parent
4ff05c1bc7
commit
40f158dbf8
4
recipes-core/busybox/busybox/static.cfg
Normal file
4
recipes-core/busybox/busybox/static.cfg
Normal file
|
@ -0,0 +1,4 @@
|
|||
CONFIG_STATIC=y
|
||||
CONFIG_INSTALL=y
|
||||
CONFIG_FEATURE_INSTALLER=y
|
||||
|
|
@ -1 +1,3 @@
|
|||
require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${BPN}_virtualization.inc', '', d)}
|
||||
require ${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', '${BPN}_vmsep.inc', '', d)}
|
||||
|
||||
|
|
8
recipes-core/busybox/busybox_vmsep.inc
Normal file
8
recipes-core/busybox/busybox_vmsep.inc
Normal file
|
@ -0,0 +1,8 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/busybox:"
|
||||
SRC_URI += " \
|
||||
file://static.cfg \
|
||||
"
|
||||
|
||||
# we do this to get the target binary available to recipes that
|
||||
# depend on busybox
|
||||
SYSROOT_DIRS += "/bin"
|
Loading…
Reference in New Issue
Block a user