[oe] [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for rmdir

Joe MacDonald joe at deserted.net
Thu Oct 24 19:49:46 UTC 2013


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20131024/f3f20873/attachment-0002.sig>


More information about the Openembedded-devel mailing list