From 26e2b40b91f2424b0b9318b50dbb700a67714b6f Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 3 Dec 2025 17:24:02 -0500 Subject: [PATCH] xen/x86: fix QA errors The xen version bump brought in these QA errors: ERROR: xen-tools-4.21+stable-r0 do_package: QA Issue: xen-tools: Files/directories were installed but not shipped in any package: /usr/lib/xen/tests/test_x86_emulator /usr/lib/xen/tests/test-cpu-policy /usr/lib/xen/tests/test-tsx Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. xen-tools: 3 installed and not shipped files. [installed-vs-shipped] ERROR: xen-tools-4.21+stable-r0 do_package: Fatal QA errors were found, failing task. ERROR: Logfile of failure stored in: build/tmp/work/x86-64-v3-poky-linux/xen-tools/4.21+stable/temp/log.do_package.2597669 ERROR: Task (meta-virtualization/recipes-extended/xen/xen-tools_4.21.bb:do_package) failed with exit code '1' NOTE: Tasks Summary: Attempted 4228 tasks of which 4210 didn't need to be rerun and 1 failed. We package two of the new files, and delete one host-compiled tool that isn't used. Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen-tools.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index 93fcae0b..828fd49e 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc @@ -735,6 +735,8 @@ FILES:${PN}-test += "\ ${libdir}/xen/tests/test_vpci \ ${libdir}/xen/tests/test-pdx-offset \ ${libdir}/xen/tests/test-pdx-mask \ + ${libdir}/xen/tests/test-cpu-policy \ + ${libdir}/xen/tests/test-tsx \ " # test-xenstore and test-resource currently only exist in 4.16 @@ -830,6 +832,9 @@ do_install() { ${localstatedir}/lib/xen \ " + # a host tool that is unused + rm -rf ${D}${libdir}/xen/tests/test_x86_emulator + # install volatiles using populate_volatiles mechanism install -d ${D}${sysconfdir}/default/volatiles for i in $VOLATILE_DIRS; do