cifs-utils: add --ignore-fail-on-non-empty for rmdir
PATCH 1/1 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 <[email protected]>
--- meta-networking/recipes-support/cifs/cifs-utils_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/cifs/cifs-utils_git.bb +1 -1
@@ -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"
Signature · 1 line
1.7.10.4
Joe MacDonald
AppliedMerged, thanks.
-J.
Quoted 21 lines · [[oe] [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for…
Add --ignore-fail-on-non-empty for rmdir in case there are files in the directories.
Signed-off-by Robert Yang <[email protected]>--- meta-networking/recipes-support/cifs/cifs-utils_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-support/cifs/cifs-utils_git.bb +1
-1@@ -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"
Signature · 2 lines
-Joe MacDonald. :wq