From d4f84ae3cda7618c70b2853aea28f5084ff2effd Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 11 Apr 2022 10:16:46 -0400 Subject: [PATCH] libvirt: fix QA packaging issue when multlib is enabled The uprev of libvirt introduced a new sysctl file: 60-qemu-postcopy-migration.conf In a standard configuration, the FILES variable of python-libvirt picks up the fiel, but in a multiconfig setup, the definition of ${libdir} changes and the file is missed. Since systcl always looks in /usr/lib, we can't rely only on ${libdir}, so we explicitly add the new .conf file into the packaging. This will allow new additions in the future to be considered as to in which package they belong. Signed-off-by: Chen Qi Signed-off-by: Preeti Sachan Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_8.1.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-extended/libvirt/libvirt_8.1.0.bb b/recipes-extended/libvirt/libvirt_8.1.0.bb index b90fb704..61b7a443 100644 --- a/recipes-extended/libvirt/libvirt_8.1.0.bb +++ b/recipes-extended/libvirt/libvirt_8.1.0.bb @@ -63,6 +63,7 @@ FILES:${PN}-libvirtd = " \ ${sysconfdir}/logrotate.d \ ${sysconfdir}/libvirt/libvirtd.conf \ /usr/lib/sysctl.d/60-libvirtd.conf \ + /usr/lib/sysctl.d/60-qemu-postcopy-migration.conf \ ${sbindir}/libvirtd \ ${systemd_system_unitdir} \ ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', '${libexecdir}/libvirt-guests.sh', d)} \