mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
busybox-initrd: move static configuration to 'vmsep' distro feature
We already have a distro feature that controls the static/non-static configuration of libgcrypt: 'vmsep' To avoid build errors on distros that don't have static libgcrypt available, we move the CONFIG_STATIC config to a fragment and only enable it whent he distro feature is set. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
0ac91aa8f2
commit
b17bd2c4b0
|
@ -10,5 +10,3 @@ CONFIG_INIT_TERMINAL_TYPE=""
|
|||
|
||||
# CONFIG_FEATURE_SHADOWPASSWDS is not set
|
||||
CONFIG_USE_BB_PWD_GRP=y
|
||||
|
||||
CONFIG_STATIC=y
|
||||
|
|
1
recipes-core/busybox/busybox-initrd/static.cfg
Normal file
1
recipes-core/busybox/busybox-initrd/static.cfg
Normal file
|
@ -0,0 +1 @@
|
|||
CONFIG_STATIC=y
|
|
@ -5,6 +5,7 @@ require recipes-core/busybox/busybox_${PV}.bb
|
|||
SRC_URI += "file://init.cfg \
|
||||
file://mdev.cfg \
|
||||
file://runx.cfg \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', 'file://static.cfg', '', d)} \
|
||||
file://initrd.cfg"
|
||||
|
||||
S = "${WORKDIR}/busybox-${PV}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user