[oe] [PATCH] cifs-utils: fix the installed but not shipped issue

Robert Yang liezhi.yang at windriver.com
Tue Oct 22 07:33:20 UTC 2013


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.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 recipes-support/cifs/cifs-utils_git.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-support/cifs/cifs-utils_git.bb b/recipes-support/cifs/cifs-utils_git.bb
index 89ff265..15bcf2e 100644
--- a/recipes-support/cifs/cifs-utils_git.bb
+++ b/recipes-support/cifs/cifs-utils_git.bb
@@ -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"
-- 
1.7.10.4




More information about the Openembedded-devel mailing list