diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/meta-virt-container-cfg.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/meta-virt-container-cfg.bbclass b/classes/meta-virt-container-cfg.bbclass index 0688f525..9a4b144e 100644 --- a/classes/meta-virt-container-cfg.bbclass +++ b/classes/meta-virt-container-cfg.bbclass | |||
@@ -3,4 +3,8 @@ | |||
3 | # layer.conf load time, we delay using a special bbclass that simply includes | 3 | # layer.conf load time, we delay using a special bbclass that simply includes |
4 | # the META_VIRT_CONTAINER_CONFIG_PATH file. | 4 | # the META_VIRT_CONTAINER_CONFIG_PATH file. |
5 | 5 | ||
6 | include ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${META_VIRT_CONTAINER_CONFIG_PATH}', '', d)} | 6 | # the defaults are valid if we do or don't have virtualization enabled, so |
7 | # we include it in either case below. But we leave the pattern in place, to | ||
8 | # match the other configs of the layer and in case the above statement isn't | ||
9 | # always true in the future. | ||
10 | include ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${META_VIRT_CONTAINER_CONFIG_PATH}', '${META_VIRT_CONTAINER_CONFIG_PATH}', d)} | ||