summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp/conf')
-rw-r--r--meta-agl-bsp/conf/machine/include/virtio.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/machine/include/virtio.inc b/meta-agl-bsp/conf/machine/include/virtio.inc
index b4022d526..e10dc2622 100644
--- a/meta-agl-bsp/conf/machine/include/virtio.inc
+++ b/meta-agl-bsp/conf/machine/include/virtio.inc
@@ -15,6 +15,17 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
# Use a common kernel recipe for all VirtIO machines
PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
+# Use newer kernel
+PREFERRED_VERSION_linux-yocto = "5.10.%"
+
+# Clear since it is set to 'sllin' in packagegroup-agl-demo.bb, and sllin is not
+# compatible with kernel 5.10 at the moment.
+LIN_DRIVERS = ""
+
+# Clear since it is set to 'lttng-modules' in packagegroup-core-tools-profile.bb,
+# and lttng-modules are not compatible with 5.10 kernel used for virtio.
+LTTNGMODULES_virtio-all = ""
+
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
IMAGE_CLASSES += "qemuboot"