Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: Pau Espin Pedrol <pespin.shar@gmail.com>,
	 openembedded-core@lists.openembedded.org
Cc: anibal.limon@intel.com
Subject: Re: [PATCH][Daisy] mesa: Avoid leaving empty sysconfdir in mesa package
Date: Mon, 08 Jun 2015 13:04:20 -0500	[thread overview]
Message-ID: <5575D924.5090001@linux.intel.com> (raw)
In-Reply-To: <1433761851-26152-1-git-send-email-pau.espin@aweurope.be>

Hi,

Looks good for me i tested with rpm and deb package_classes.

Cheers,
     alimon

On 08/06/15 06:10, Pau Espin Pedrol wrote:
> Signed-off-by: Pau Espin Pedrol <pau.espin@aweurope.be>
Acked-by: Aníbal Limón <anibal.limon@linux.intel.com>
> ---
>   meta/recipes-graphics/mesa/mesa.inc | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
> index 96313b5..f88b2a4 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -99,6 +99,11 @@ do_install_append () {
>       
>       # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used
>       rm -f ${D}${sysconfdir}/drirc
> +
> +    # /etc is sometimes left as an empty directory and it ends up into 'mesa' package, which is then a non-empty package
> +    if [ -d ${D}${sysconfdir} ]; then
> +        rmdir --ignore-fail-on-non-empty ${D}${sysconfdir}
> +    fi
>   }
>   
>   # For the packages that make up the OpenGL interfaces, inject variables so that



      reply	other threads:[~2015-06-08 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 11:10 [PATCH][Daisy] mesa: Avoid leaving empty sysconfdir in mesa package Pau Espin Pedrol
2015-06-08 18:04 ` Aníbal Limón [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=5575D924.5090001@linux.intel.com \
    --to=anibal.limon@linux.intel.com \
    --cc=anibal.limon@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pespin.shar@gmail.com \
    /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