[oe-commits] Robert Yang : cifs-utils: add --ignore-fail-on-non-empty for rmdir

git at git.openembedded.org git at git.openembedded.org
Thu Oct 24 19:35:50 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 2e4b24dad58095579ce3fb34a33b029cfcf0a813
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=2e4b24dad58095579ce3fb34a33b029cfcf0a813

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Thu Oct 24 10:40:50 2013 -0400

cifs-utils: add --ignore-fail-on-non-empty for rmdir

Add --ignore-fail-on-non-empty for rmdir in case there are files in the
directories.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Joe MacDonald <joe at deserted.net>

---

 .../recipes-support/cifs/cifs-utils_git.bb         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-networking/recipes-support/cifs/cifs-utils_git.bb b/meta-networking/recipes-support/cifs/cifs-utils_git.bb
index fc7a4d3..d8de714 100644
--- a/meta-networking/recipes-support/cifs/cifs-utils_git.bb
+++ b/meta-networking/recipes-support/cifs/cifs-utils_git.bb
@@ -20,7 +20,7 @@ inherit autotools pkgconfig
 do_install_append() {
     # Remove empty /usr/bin and /usr/sbin directories since the mount helper
     # is installed to /sbin
-    rmdir ${D}${bindir} ${D}${sbindir}
+    rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir}
 }
 
 RRECOMMENDS_${PN} = "kernel-module-cifs"



More information about the Openembedded-commits mailing list