[oe] [meta-networking][PATCH 2/2] quagga: install tmpfiles snippet to /usr/lib/tmpfiles.d
Khem Raj
raj.khem at gmail.com
Wed Feb 12 00:44:45 UTC 2020
On 2/10/20 10:08 PM, Dan Callaghan wrote:
> Package-owned tmpfiles snippets belong in /usr/lib/tmpfiles.d,
> /etc/tmpfiles.d is for administrator customisations.
>
> Signed-off-by: Dan Callaghan <dan.callaghan at opengear.com>
> ---
> meta-networking/recipes-protocols/quagga/quagga.inc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
> index 2673a8976..f35b27160 100644
> --- a/meta-networking/recipes-protocols/quagga/quagga.inc
> +++ b/meta-networking/recipes-protocols/quagga/quagga.inc
> @@ -116,9 +116,9 @@ do_install () {
> done
>
> if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
> - install -d ${D}${sysconfdir}/tmpfiles.d
> + install -d ${D}${nonarch_libdir}/tmpfiles.d
> echo "d /run/quagga 0755 quagga quagga -" \
> - > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
> + > ${D}${nonarch_libdir}/tmpfiles.d/${BPN}.conf
> fi
>
> # Remove sysinit script if sysvinit is not in DISTRO_FEATURES
>
Fails packaging
ERROR: QA Issue: quagga: Files/directories were installed but not
shipped in any package:
/usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/quagga.conf
http://errors.yoctoproject.org/Errors/Details/390597/
More information about the Openembedded-devel
mailing list