Skip to contentSkip to conversation

cifs-utils: fix the installed but not shipped issue

PATCH In review Robert Yang 1 participant 2 messages Oct 22, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cifs-utils: fix the installed but not shipped issue

We will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA:

ERROR: QA Issue: cifs-utils: Files/directories were installed but not shipped
/usr/bin

Remove the empty dir will fix the problem.

---
 recipes-support/cifs/cifs-utils_git.bb |    1 +
 1 file changed, 1 insertion(+)
recipes-support/cifs/cifs-utils_git.bb +1 -0
index 89ff265..15bcf2e 100644
@@ -21,6 +21,7 @@ do_install_append() {
     # Remove empty /usr/sbin directories since the mount helper
     # is installed to /sbin
     rmdir ${D}${sbindir}
+    rmdir --ignore-fail-on-non-empty ${D}${bindir}
 }
 
 RRECOMMENDS_${PN} = "kernel-module-cifs"
Signature · 1 line
1.7.10.4
#1 lore raw

Please ignore this one, I will send an update one with proper Subject set.

// Robert

Quoted 26 lines · Robert Yang

We will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA:

ERROR: QA Issue: cifs-utils: Files/directories were installed but not shipped
/usr/bin

Remove the empty dir will fix the problem.

---
  recipes-support/cifs/cifs-utils_git.bb |    1 +
  1 file changed, 1 insertion(+)
recipes-support/cifs/cifs-utils_git.bb +1 -0
index 89ff265..15bcf2e 100644
@@ -21,6 +21,7 @@ do_install_append() {
      # Remove empty /usr/sbin directories since the mount helper
      # is installed to /sbin
      rmdir ${D}${sbindir}
+    rmdir --ignore-fail-on-non-empty ${D}${bindir}
  }
 
  RRECOMMENDS_${PN} = "kernel-module-cifs"