mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00

As was reported: https://lists.yoctoproject.org/g/meta-virtualization/message/4173?p=,,,20,0,0,0::Created,,conf%2Flayer.conf+is+broken,20,2,0,61269733 The conditional include of the meta-virt versions and config was not working properly due to parse time constraints. This commit fixes that by following the example of the meta-cube layer and instead using a user bbclass to load the .inc file after distro/distro features have been resolved by bitbake. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
6 lines
295 B
Plaintext
6 lines
295 B
Plaintext
# We need to load the meta-virt config components, only if "virtualization"
|
|
# is in the distro features. Since we don't know the distro flags during
|
|
# layer.conf load time, we delay using a special bbclass that simply includes
|
|
# the META_VIRT_CONFIG_PATH file.
|
|
|
|
include ${META_VIRT_CONFIG_PATH} |