Skip to contentSkip to conversation

colord: fix installed-vs-shipped error

PATCH New kai 1 participant 1 message Dec 8, 2020

lore
Share & tools
lore

kai

author
#0 lore raw

PATCH 1/1 colord: fix installed-vs-shipped error

From: Kai Kang <[email protected]>

When multilib is enabled, tmpfiles.d is created in /usr/lib rather than ${libdir} which is /usr/lib64. It causes installed-vs-shipped error:

| ERROR: colord-1.4.4-r0 do_package: QA Issue: colord:
Files/directories were installed but not shipped in any package:

|   /usr/lib/tmpfiles.d
|   /usr/lib/tmpfiles.d/colord.conf

Fix the path in FILES to fix the issue.

---
 meta-oe/recipes-support/colord/colord.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/colord/colord.bb +1 -1
index df86708e2..f514c0b78 100644
@@ -36,7 +36,7 @@ FILES_${PN} += " \
     ${datadir}/glib-2.0 \
     ${datadir}/color \
     ${systemd_user_unitdir} \
-    ${libdir}/tmpfiles.d \
+    ${nonarch_libdir}/tmpfiles.d \
     ${libdir}/colord-plugins \
     ${libdir}/colord-sensors \
 "
Signature · 1 line
2.17.1