All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Phil Blundell <philb@gnu.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] gconf: Avoid error when trying to delete files that don't exist
Date: Thu, 18 Oct 2012 13:33:04 -0700	[thread overview]
Message-ID: <50806780.7030901@linux.intel.com> (raw)
In-Reply-To: <1350512717.4470.171.camel@x121e.pbcl.net>

On 10/17/2012 03:25 PM, Phil Blundell wrote:
> Use "rm -f" in do_install_append() so we don't fail if the files we're
> trying to delete have already been removed.  This can happen if the
> distro policy suppresses both static libs and .la files.
>
> Signed-off-by: Phil Blundell <pb@pbcl.net>
> ---
>   meta/recipes-gnome/gnome/gconf_3.2.3.bb |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-gnome/gnome/gconf_3.2.3.bb b/meta/recipes-gnome/gnome/gconf_3.2.3.bb
> index dc3520f..4d77a14 100644
> --- a/meta/recipes-gnome/gnome/gconf_3.2.3.bb
> +++ b/meta/recipes-gnome/gnome/gconf_3.2.3.bb
> @@ -33,8 +33,8 @@ do_install_append() {
>   	install -d ${D}${sysconfdir}/gconf/gconf.xml.system
>
>   	# this stuff is unusable
> -	rm ${D}${libdir}/GConf/*/*.*a
> -	rm ${D}${libdir}/gio/*/*.*a
> +	rm -f ${D}${libdir}/GConf/*/*.*a
> +	rm -f ${D}${libdir}/gio/*/*.*a
>   }
>
>   # disable dbus-x11 when x11 isn't in DISTRO_FEATURES
>
Merged into OE-Core

Thanks
	Sau!




      reply	other threads:[~2012-10-18 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-17 22:25 [PATCH] gconf: Avoid error when trying to delete files that don't exist Phil Blundell
2012-10-18 20:33 ` Saul Wold [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=50806780.7030901@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=philb@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.