From: Changqing Li Date: Tue, 23 Dec 2025 04:14:53 +0000 (+0800) Subject: qemu: disable libkeyutils X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30cc9f5192436f5498ff9c55c0545eebb50fa423;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git qemu: disable libkeyutils When package keyutils-devel is installed on host and gcc in extend buildtools is used, qemu-system-native do_compile failed with error: ../qemu-9.2.0/backends/cryptodev-lkcf.c:36:10: fatal error: keyutils.h: No such file or directory* 36 #include ^~~~~~~~~~~~ gcc in extend buildtools can find libkeyutil on the host, but it will not search the headers on the host cause above issue. add PACKAGECONFIG libkeyutils, and disable libkeyutils by default to fix the issue Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 63414196fa..908dca7d5d 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -229,6 +229,7 @@ PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack," PACKAGECONFIG[debuginfo] = "--enable-libdw,--disable-libdw,elfutils" PACKAGECONFIG[pipewire] = "--enable-pipewire,--disable-pipewire,pipewire" PACKAGECONFIG[sndio] = "--enable-sndio,--disable-sndio,sndio" +PACKAGECONFIG[libkeyutils] = "--enable-libkeyutils,--disable-libkeyutils,keyutils" INSANE_SKIP:${PN}-common = "arch"