Skip to contentSkip to conversation

thunar: fix QA issue 'installed-vs-shipped'

PATCH In review Mark Asselstine 3 participants 7 messages Jun 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thunar: fix QA issue 'installed-vs-shipped'

Since commit eb0fe21c1535 [thunar: upgrade 1.6.15 -> 1.8.0] we see a QA Error/Warning regarding files 'installed-vs-shipped':

ERROR: QA Issue: thunar: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user /usr/lib/systemd/user/thunar.service

Correct the path to the systemd service file to match what we see in other recipes which include "user" service files.

---

This issue and patch is for master-next to match the merge status of commit eb0fe21c1535.

 meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb +1 -1
index f03fd63..c2f6f59 100644
@@ -21,7 +21,7 @@ FILES_${PN} += " \
     ${libdir}/thunarx-3/* \
     ${libdir}/xfce4/panel/plugins/* \
     ${libdir}/Thunar/[Tt]hunar* \
-    ${libdir}/systemd \
+    ${systemd_user_unitdir} \
     ${datadir}/dbus-1 \
     ${datadir}/metainfo \
     ${datadir}/polkit-1 \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 11 lines · Mark Asselstine

Since commit eb0fe21c1535 [thunar: upgrade 1.6.15 -> 1.8.0] we see a QA Error/Warning regarding files 'installed-vs-shipped':

ERROR: QA Issue: thunar: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user /usr/lib/systemd/user/thunar.service

perhaps this should be moved to /lib/systemd/system

Quoted 33 lines

Correct the path to the systemd service file to match what we see in other recipes which include "user" service files.

---

This issue and patch is for master-next to match the merge status of commit eb0fe21c1535.

 meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb +1 -2
index f03fd63..c2f6f59 100644
@@ -21,7 +21,7 @@ FILES_${PN} += " \
     ${libdir}/thunarx-3/* \
     ${libdir}/xfce4/panel/plugins/* \
     ${libdir}/Thunar/[Tt]hunar* \
-    ${libdir}/systemd \
+    ${systemd_user_unitdir} \
     ${datadir}/dbus-1 \
     ${datadir}/metainfo \
     ${datadir}/polkit-1 \
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 14 lines · Khem Raj
Quoted 11 lines · Mark Asselstine

Since commit eb0fe21c1535 [thunar: upgrade 1.6.15 -> 1.8.0] we see a QA Error/Warning regarding files 'installed-vs-shipped':

ERROR: QA Issue: thunar: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user /usr/lib/systemd/user/thunar.service

Quoted 1 line

perhaps this should be moved to /lib/systemd/system

Possibly but really I had to go under the assumption that the folks that came before me and created the recipe and completed version bumps have tested it in its current location (which is a valid location for systemd service files by the way). So my intention was to address the QA issue and not change the overall behavior of the recipe.

MarkA

Quoted 39 lines
Quoted 29 lines

Correct the path to the systemd service file to match what we see in other recipes which include "user" service files.

---

This issue and patch is for master-next to match the merge status of commit eb0fe21c1535.

 meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb +1 -2
index f03fd63..c2f6f59 100644
@@ -21,7 +21,7 @@ FILES_${PN} += " \
     ${libdir}/thunarx-3/* \
     ${libdir}/xfce4/panel/plugins/* \
     ${libdir}/Thunar/[Tt]hunar* \
-    ${libdir}/systemd \
+    ${systemd_user_unitdir} \
     ${datadir}/dbus-1 \
     ${datadir}/metainfo \
     ${datadir}/polkit-1 \
--

2.7.4

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- ________________________http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106323.html_______________________ Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 16 lines · Mark Asselstine
Quoted 14 lines · Khem Raj
Quoted 11 lines · Mark Asselstine

Since commit eb0fe21c1535 [thunar: upgrade 1.6.15 -> 1.8.0] we see a QA Error/Warning regarding files 'installed-vs-shipped':

ERROR: QA Issue: thunar: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user /usr/lib/systemd/user/thunar.service

Quoted 8 lines
Quoted 1 line

perhaps this should be moved to /lib/systemd/system

Possibly but really I had to go under the assumption that the folks that came before me and created the recipe and completed version bumps have tested it in its current location (which is a valid location for systemd service files by the way). So my intention was to address the QA issue and not change the overall behavior of the recipe.

Thats fine. Let me wait on Andreas to validate this approach.

Quoted 41 lines

MarkA

Quoted 39 lines
Quoted 29 lines

Correct the path to the systemd service file to match what we see in other recipes which include "user" service files.

---

This issue and patch is for master-next to match the merge status of commit eb0fe21c1535.

 meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb +1 -2
index f03fd63..c2f6f59 100644
@@ -21,7 +21,7 @@ FILES_${PN} += " \
     ${libdir}/thunarx-3/* \
     ${libdir}/xfce4/panel/plugins/* \
     ${libdir}/Thunar/[Tt]hunar* \
-    ${libdir}/systemd \
+    ${systemd_user_unitdir} \
     ${datadir}/dbus-1 \
     ${datadir}/metainfo \
     ${datadir}/polkit-1 \
--

2.7.4

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- ________________________http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106323.html_______________________ Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 20 lines · Khem Raj
Quoted 18 lines · Mark Asselstine
Quoted 15 lines · Khem Raj
Quoted 11 lines · Mark Asselstine

Since commit eb0fe21c1535 [thunar: upgrade 1.6.15 -> 1.8.0] we see a QA Error/Warning regarding files 'installed-vs-shipped':

ERROR: QA Issue: thunar: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user /usr/lib/systemd/user/thunar.service

perhaps this should be moved to /lib/systemd/system

Quoted 12 lines
Quoted 6 lines

Possibly but really I had to go under the assumption that the folks that came before me and created the recipe and completed version bumps have tested it in its current location (which is a valid location for systemd service files by the way). So my intention was to address the QA issue and not change the overall behavior of the recipe.

Thats fine. Let me wait on Andreas to validate this approach.

Quoted 3 lines

MarkA

Quoted 1 line

Strange I have build/run tested this patch for master and sumo without issues. Must have missed something. Will check on my other machine tomorrow what went wrong.

Whatever the result is: Move seems wrong: All other user units I found on my system are at /usr/lib/systemd/user/

Andreas

#5 lore raw
Quoted 29 lines · Andreas Müller
Quoted 27 lines · Khem Raj
Quoted 24 lines · Mark Asselstine
Quoted 14 lines · Khem Raj
Quoted 11 lines · Mark Asselstine

Since commit eb0fe21c1535 [thunar: upgrade 1.6.15 -> 1.8.0] we see a QA Error/Warning regarding files 'installed-vs-shipped':

ERROR: QA Issue: thunar: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user /usr/lib/systemd/user/thunar.service

Quoted 1 line

perhaps this should be moved to /lib/systemd/system

Possibly but really I had to go under the assumption that the folks that came before me and created the recipe and completed version bumps have tested it in its current location (which is a valid location for systemd service files by the way). So my intention was to address the QA issue and not change the overall behavior of the recipe.

Quoted 8 lines
Quoted 5 lines

Thats fine. Let me wait on Andreas to validate this approach.

Quoted 3 lines

MarkA

Quoted 1 line

Strange I have build/run tested this patch for master and sumo without issues. Must have missed something. Will check on my other machine tomorrow what went wrong.

it did not happen with my builds either and my QA policies are same as poky. so I wonder too

Quoted 3 lines

Whatever the result is: Move seems wrong: All other user units I found on my system are at /usr/lib/systemd/user/

OK, that makes sense to keep it as it is.

Quoted 2 lines

Andreas

Acked-by on v1 1/1
#6 lore raw
In reply to Mark Asselstine
Quoted 10 lines · Mark Asselstine

Since commit eb0fe21c1535 [thunar: upgrade 1.6.15 -> 1.8.0] we see a QA Error/Warning regarding files 'installed-vs-shipped':

ERROR: QA Issue: thunar: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user /usr/lib/systemd/user/thunar.service

Quoted 3 lines

Correct the path to the systemd service file to match what we see in other recipes which include "user" service files.

I checked: My patch sets ${libdir}/system. That does not work for systems with libdir=/usr/lib64

So:

* Sorry for causing trouble
* Thanks for fixing