Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] sstate-cache-management: hide error message when one of possible layer location doesn't exist
Date: Thu, 27 Sep 2012 09:35:47 -0700	[thread overview]
Message-ID: <50648063.7070108@linux.intel.com> (raw)
In-Reply-To: <1348731373-27278-1-git-send-email-Martin.Jansa@gmail.com>

On 09/27/2012 12:36 AM, Martin Jansa wrote:
> * fixes [YOCTO #3116]
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>   scripts/sstate-cache-management.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh
> index f519555..4c06fe8 100755
> --- a/scripts/sstate-cache-management.sh
> +++ b/scripts/sstate-cache-management.sh
> @@ -174,7 +174,7 @@ remove_duplicated () {
>     topdir=$(dirname $oe_core_dir)
>     tunedirs="`find $topdir/meta* ${oe_core_dir}/meta* $layers -path '*/meta*/conf/machine/include'`"
>     [ -n "$tunedirs" ] || echo_error "Can't find the tune directory"
> -  all_machines="`find $topdir/meta* ${oe_core_dir}/meta* $layers -path '*/meta*/conf/machine/*' -name '*.conf' | sed -e 's/.*\///' -e 's/.conf$//'`"
> +  all_machines="`find $topdir/meta* ${oe_core_dir}/meta* $layers -path '*/meta*/conf/machine/*' -name '*.conf' 2>/dev/null | sed -e 's/.*\///' -e 's/.conf$//'`"
>     all_archs=`grep -r -h "^AVAILTUNES .*=" $tunedirs | sed -e 's/.*=//' -e 's/\"//g'`
>     # Add the qemu and native archs
>     # Use the "_" to substitute "-", e.g., x86-64 to x86_64
>

Merged into OE-Core

Thanks
	Sau!




  reply	other threads:[~2012-09-27 16:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-27  7:36 [PATCH] sstate-cache-management: hide error message when one of possible layer location doesn't exist Martin Jansa
2012-09-27 16:35 ` Saul Wold [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-09  9:30 Martin Jansa

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=50648063.7070108@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@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