* [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for rmdir
@ 2013-10-24 14:40 Robert Yang
2013-10-24 19:49 ` Joe MacDonald
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2013-10-24 14:40 UTC (permalink / raw)
To: openembedded-devel; +Cc: Joe.MacDonald
Add --ignore-fail-on-non-empty for rmdir in case there are files in the
directories.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta-networking/recipes-support/cifs/cifs-utils_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for rmdir
2013-10-24 14:40 [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for rmdir Robert Yang
@ 2013-10-24 19:49 ` Joe MacDonald
0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2013-10-24 19:49 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]
Merged, thanks.
-J.
[[oe] [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for rmdir] On 13.10.24 (Thu 10:40) Robert Yang wrote:
> Add --ignore-fail-on-non-empty for rmdir in case there are files in the
> directories.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> meta-networking/recipes-support/cifs/cifs-utils_git.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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"
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-24 19:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-24 14:40 [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for rmdir Robert Yang
2013-10-24 19:49 ` Joe MacDonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox