Skip to contentSkip to conversation

driverctl: fix installed-vs-shipped

PATCH Applied Martin Jansa 2 participants 2 messages Dec 29, 2023 – Dec 31, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/[email protected]
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"

---
 meta-oe/recipes-support/driverctl/driverctl_0.115.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-oe/recipes-support/driverctl/driverctl_0.115.bb +5 -2
index d37563eda9..970844f982 100644
@@ -18,6 +18,9 @@ do_install () {
 	oe_runmake install DESTDIR=${D}
 }
 
-FILES:${PN} += "${libdir}"
-FILES:${PN} += "${datadir}"
+FILES:${PN} += " \
+    ${libdir} \
+    ${datadir} \
+    ${systemd_system_unitdir} \
+"
 
Signature · 1 line
2.43.0
Applied
#1 lore raw
Quoted 11 lines · Martin Jansa

* 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/[email protected]
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]

Quoted 1 line

[...]

Applied, thanks!

[1/1] driverctl: fix installed-vs-shipped

      commit: 079cd908fcaad88440f293a13e4917e4e64c42b5

Best regards,

Signature · 1 line
Khem Raj <[email protected]>