diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-04-11 10:16:46 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-04-11 10:16:46 -0400 |
commit | d4f84ae3cda7618c70b2853aea28f5084ff2effd (patch) | |
tree | 7c43eea2170c43f76bc6825ba79dc6086f241299 /recipes-extended/libvirt | |
parent | 654f8d02a6f88f01f1d18dfc80f70d8e5e6cdb5f (diff) | |
download | meta-virtualization-d4f84ae3cda7618c70b2853aea28f5084ff2effd.tar.gz |
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 <Qi.Chen@windriver.com>
Signed-off-by: Preeti Sachan <preeti.sachan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/libvirt')
-rw-r--r-- | recipes-extended/libvirt/libvirt_8.1.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 = " \ | |||
63 | ${sysconfdir}/logrotate.d \ | 63 | ${sysconfdir}/logrotate.d \ |
64 | ${sysconfdir}/libvirt/libvirtd.conf \ | 64 | ${sysconfdir}/libvirt/libvirtd.conf \ |
65 | /usr/lib/sysctl.d/60-libvirtd.conf \ | 65 | /usr/lib/sysctl.d/60-libvirtd.conf \ |
66 | /usr/lib/sysctl.d/60-qemu-postcopy-migration.conf \ | ||
66 | ${sbindir}/libvirtd \ | 67 | ${sbindir}/libvirtd \ |
67 | ${systemd_system_unitdir} \ | 68 | ${systemd_system_unitdir} \ |
68 | ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', '${libexecdir}/libvirt-guests.sh', d)} \ | 69 | ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', '${libexecdir}/libvirt-guests.sh', d)} \ |