From 079cd908fcaad88440f293a13e4917e4e64c42b5 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 29 Dec 2023 11:40:05 +0100 Subject: driverctl: fix installed-vs-shipped * introduced in upgrade to 0.115 version: https://git.openembedded.org/meta-openembedded/commit/?id=1f2c2ebcbcf5944225462f530e0d56b20f1b4630 * fixes: ERROR: driverctl-0.115-r0 do_package: QA Issue: driverctl: Files/directories were installed but not shipped in any package: /usr/lib/systemd /usr/lib/systemd/system /usr/lib/systemd/system/driverctl@.service Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. driverctl: 3 installed and not shipped files. [installed-vs-shipped] when systemd_system_unitdir isn't subdirectory of libdir, e.g. with multilib using: export libdir="/usr/lib64" export systemd_system_unitdir="/usr/lib/systemd/system" Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- meta-oe/recipes-support/driverctl/driverctl_0.115.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/driverctl/driverctl_0.115.bb b/meta-oe/recipes-support/driverctl/driverctl_0.115.bb index d37563eda9..970844f982 100644 --- a/meta-oe/recipes-support/driverctl/driverctl_0.115.bb +++ b/meta-oe/recipes-support/driverctl/driverctl_0.115.bb @@ -18,6 +18,9 @@ do_install () { oe_runmake install DESTDIR=${D} } -FILES:${PN} += "${libdir}" -FILES:${PN} += "${datadir}" +FILES:${PN} += " \ + ${libdir} \ + ${datadir} \ + ${systemd_system_unitdir} \ +" -- cgit v1.2.3-54-g00ecf