Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Joe MacDonald <joe@deserted.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking] [PATCH] cifs-utils: add --ignore-fail-on-non-empty for rmdir
Date: Thu, 24 Oct 2013 15:49:46 -0400	[thread overview]
Message-ID: <20131024194945.GD3984@deserted.net> (raw)
In-Reply-To: <1382625650-9266-1-git-send-email-liezhi.yang@windriver.com>

[-- 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 --]

      reply	other threads:[~2013-10-24 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131024194945.GD3984@deserted.net \
    --to=joe@deserted.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox