diff options
author | Kamil Dziezyk <kamil.dziezyk@arm.com> | 2022-03-02 14:56:24 +0100 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-03-02 15:47:55 -0500 |
commit | 4369415b91387d873d6cb9364ba7961bd2d85435 (patch) | |
tree | f2a0e4bc175ed872e2bf605a84caadfd723583d5 /recipes-extended/images/xen-guest-image-minimal.bb | |
parent | 26017da9d8cc1de8cd4dd905d1edd892787d4fc6 (diff) | |
download | meta-virtualization-4369415b91387d873d6cb9364ba7961bd2d85435.tar.gz |
xen-*image-minimal: Install *xen-acpi-processor package only for x86* machines
Kernel module xen_acpi_processor is built only for x86* architectures,
therefore 'kernel-module-xen-acpi-processor' package is compatible only with
x86* machines.
Issue-Id: SCM-3892
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Change-Id: I8dde00e3c78a1f9eea50b19fbc1981f5e26df133
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/images/xen-guest-image-minimal.bb')
-rw-r--r-- | recipes-extended/images/xen-guest-image-minimal.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-extended/images/xen-guest-image-minimal.bb b/recipes-extended/images/xen-guest-image-minimal.bb index ca111b49..fced7639 100644 --- a/recipes-extended/images/xen-guest-image-minimal.bb +++ b/recipes-extended/images/xen-guest-image-minimal.bb | |||
@@ -4,9 +4,13 @@ inherit core-image features_check | |||
4 | 4 | ||
5 | IMAGE_INSTALL += " \ | 5 | IMAGE_INSTALL += " \ |
6 | packagegroup-core-boot \ | 6 | packagegroup-core-boot \ |
7 | ${@bb.utils.contains('MACHINE_FEATURES', 'acpi', 'kernel-module-xen-acpi-processor', '', d)} \ | 7 | ${@bb.utils.contains('MACHINE_FEATURES', 'acpi', '${XEN_ACPI_PROCESSOR_MODULE}', '', d)} \ |
8 | " | 8 | " |
9 | 9 | ||
10 | XEN_ACPI_PROCESSOR_MODULE = "" | ||
11 | XEN_ACPI_PROCESSOR_MODULE:x86 = "kernel-module-xen-acpi-processor" | ||
12 | XEN_ACPI_PROCESSOR_MODULE:x86-64 = "kernel-module-xen-acpi-processor" | ||
13 | |||
10 | IMAGE_INSTALL += "${@bb.utils.contains('IMAGE_FEATURES', 'x11', ' xf86-video-fbdev', '', d)}" | 14 | IMAGE_INSTALL += "${@bb.utils.contains('IMAGE_FEATURES', 'x11', ' xf86-video-fbdev', '', d)}" |
11 | 15 | ||
12 | # Install xf86-video-vesa on x86 platforms. | 16 | # Install xf86-video-vesa on x86 platforms. |