Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] cifs-utils: fix the installed but not shipped issue
@ 2013-10-22  7:33 Robert Yang
  2013-10-22  7:59 ` Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2013-10-22  7:33 UTC (permalink / raw)
  To: Joe.MacDonald; +Cc: openembedded-devel

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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-22  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-22  7:33 [PATCH] cifs-utils: fix the installed but not shipped issue Robert Yang
2013-10-22  7:59 ` Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox