mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
xen-*image-minimal: Setup conditional based on MACHINE_FEATURES
* Conditionally add packages to the image depending on whether the machine supports the respective feature Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
This commit is contained in:
parent
46504b1999
commit
06a8cc10d8
|
@ -4,7 +4,7 @@ inherit core-image
|
|||
|
||||
IMAGE_INSTALL += " \
|
||||
packagegroup-core-boot \
|
||||
kernel-module-xen-acpi-processor \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'acpi', 'kernel-module-xen-acpi-processor', '', d)} \
|
||||
"
|
||||
|
||||
IMAGE_INSTALL += "${@base_contains('DISTRO_FEATURES', 'x11', ' xf86-video-fbdev', '', d)}"
|
||||
|
|
|
@ -5,12 +5,12 @@ INITRD_IMAGE = "core-image-minimal-initramfs"
|
|||
IMAGE_INSTALL += " \
|
||||
packagegroup-core-boot \
|
||||
packagegroup-core-ssh-openssh \
|
||||
kernel-module-xen-acpi-processor \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'acpi', 'kernel-module-xen-acpi-processor', '', d)} \
|
||||
kernel-module-xen-blkback \
|
||||
kernel-module-xen-gntalloc \
|
||||
kernel-module-xen-gntdev \
|
||||
kernel-module-xen-netback \
|
||||
kernel-module-xen-pciback \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'pci', 'kernel-module-xen-pciback', '', d)} \
|
||||
kernel-module-xen-wdt \
|
||||
xen-base \
|
||||
xen-qemu \
|
||||
|
|
Loading…
Reference in New Issue
Block a user