diff options
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/qemu/qemu-system-native_%.bbappend | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-devtools/qemu/qemu-system-native_%.bbappend b/recipes-devtools/qemu/qemu-system-native_%.bbappend index d360af80..b04b6934 100644 --- a/recipes-devtools/qemu/qemu-system-native_%.bbappend +++ b/recipes-devtools/qemu/qemu-system-native_%.bbappend | |||
| @@ -5,6 +5,8 @@ | |||
| 5 | # Enable virtfs (virtio-9p) for vcontainer cross-architecture container bundling. | 5 | # Enable virtfs (virtio-9p) for vcontainer cross-architecture container bundling. |
| 6 | # This is required for the fast batch-import path in container-cross-install. | 6 | # This is required for the fast batch-import path in container-cross-install. |
| 7 | # | 7 | # |
| 8 | # Only applied when "vcontainer" or "virtualization" is in DISTRO_FEATURES. | 8 | # Note: Native recipes don't see target DISTRO_FEATURES directly. |
| 9 | # The layer.conf propagates virtualization to DISTRO_FEATURES_NATIVE when | ||
| 10 | # vcontainer or virtualization is in the target DISTRO_FEATURES. | ||
| 9 | 11 | ||
| 10 | PACKAGECONFIG:append = " ${@bb.utils.contains_any('DISTRO_FEATURES', 'vcontainer virtualization', 'virtfs', '', d)}" | 12 | PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES_NATIVE', 'virtualization', 'virtfs', '', d)}" |
