* [meta-virtualization][PATCH] libvirt: package all sysctl conf files for libvirtd
@ 2022-04-11 13:29 Chen Qi
2022-04-11 13:32 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2022-04-11 13:29 UTC (permalink / raw)
To: meta-virtualization
The libvirtd package has already packaged ${sysconfdir}/sysctl.d,
and also the /usr/lib/sysctl.d/60-libvirtd.conf, it would be
reasonable for it to package other sysctl conf files, otherwise
we will meet the following error in case of multilib.
QA Issue: libvirt: Files/directories were installed but not shipped in any package:
/usr/lib/sysctl.d/60-qemu-postcopy-migration.conf
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
recipes-extended/libvirt/libvirt_8.1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-extended/libvirt/libvirt_8.1.0.bb b/recipes-extended/libvirt/libvirt_8.1.0.bb
index b90fb704..433601c6 100644
--- a/recipes-extended/libvirt/libvirt_8.1.0.bb
+++ b/recipes-extended/libvirt/libvirt_8.1.0.bb
@@ -62,7 +62,7 @@ FILES:${PN}-libvirtd = " \
${sysconfdir}/sysctl.d \
${sysconfdir}/logrotate.d \
${sysconfdir}/libvirt/libvirtd.conf \
- /usr/lib/sysctl.d/60-libvirtd.conf \
+ /usr/lib/sysctl.d/ \
${sbindir}/libvirtd \
${systemd_system_unitdir} \
${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', '${libexecdir}/libvirt-guests.sh', d)} \
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization][PATCH] libvirt: package all sysctl conf files for libvirtd
2022-04-11 13:29 [meta-virtualization][PATCH] libvirt: package all sysctl conf files for libvirtd Chen Qi
@ 2022-04-11 13:32 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2022-04-11 13:32 UTC (permalink / raw)
To: Chen Qi; +Cc: meta-virtualization
[-- Attachment #1: Type: text/plain, Size: 2194 bytes --]
On Mon, Apr 11, 2022 at 9:29 AM Chen Qi <Qi.Chen@windriver.com> wrote:
> The libvirtd package has already packaged ${sysconfdir}/sysctl.d,
> and also the /usr/lib/sysctl.d/60-libvirtd.conf, it would be
> reasonable for it to package other sysctl conf files, otherwise
> we will meet the following error in case of multilib.
>
> QA Issue: libvirt: Files/directories were installed but not shipped in
> any package:
> /usr/lib/sysctl.d/60-qemu-postcopy-migration.conf
>
See the patch that I sent as well.
There's no reason to have /usr/lib anywhere in the packaging at all. We
should just rely on ${libdir}, if libvirt is installing outside of the
definition of ${libdir}, then we can patch ilbvirt, versus hardcoding
/usr/lib in the FILES variables.
Bruce
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> recipes-extended/libvirt/libvirt_8.1.0.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_8.1.0.bb
> b/recipes-extended/libvirt/libvirt_8.1.0.bb
> index b90fb704..433601c6 100644
> --- a/recipes-extended/libvirt/libvirt_8.1.0.bb
> +++ b/recipes-extended/libvirt/libvirt_8.1.0.bb
> @@ -62,7 +62,7 @@ FILES:${PN}-libvirtd = " \
> ${sysconfdir}/sysctl.d \
> ${sysconfdir}/logrotate.d \
> ${sysconfdir}/libvirt/libvirtd.conf \
> - /usr/lib/sysctl.d/60-libvirtd.conf \
> + /usr/lib/sysctl.d/ \
> ${sbindir}/libvirtd \
> ${systemd_system_unitdir} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '',
> '${libexecdir}/libvirt-guests.sh', d)} \
> --
> 2.33.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7155):
> https://lists.yoctoproject.org/g/meta-virtualization/message/7155
> Mute This Topic: https://lists.yoctoproject.org/mt/90394721/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
> bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
[-- Attachment #2: Type: text/html, Size: 4189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-11 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 13:29 [meta-virtualization][PATCH] libvirt: package all sysctl conf files for libvirtd Chen Qi
2022-04-11 13:32 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.