From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Stefan Stanacar <sstncr@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] scripts/cleanup-workdir: fix after binutils-cross name change
Date: Mon, 05 May 2014 09:13:11 +0100 [thread overview]
Message-ID: <1399277591.12731.106.camel@ted> (raw)
In-Reply-To: <1399225274-10139-1-git-send-email-sstncr@gmail.com>
On Sun, 2014-05-04 at 20:41 +0300, Stefan Stanacar wrote:
> Signed-off-by: Stefan Stanacar <sstncr@gmail.com>
> ---
> scripts/cleanup-workdir | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir
> index 25fef97..cffac59 100755
> --- a/scripts/cleanup-workdir
> +++ b/scripts/cleanup-workdir
> @@ -49,9 +49,10 @@ def run_command(cmd):
>
> def get_cur_arch_dirs(workdir, arch_dirs):
> pattern = workdir + '/(.*?)/'
> -
> + tunearch = run_command("bitbake -e | grep ^TUNE_ARCH=")
> + tunearch = tunearch.split('"')[1]
> # select thest 5 packages to get the dirs of current arch
> - pkgs = ['hicolor-icon-theme', 'base-files', 'acl-native', 'binutils-crosssdk', 'nativesdk-autoconf']
> + pkgs = ['hicolor-icon-theme', 'base-files', 'acl-native', 'binutils-crosssdk-' + tunearch, 'nativesdk-autoconf']
>
> for pkg in pkgs:
> cmd = "bitbake -e " + pkg + " | grep ^IMAGE_ROOTFS="
I pushed a fix for this before I saw the patch. FWIW for crosssdk we
need to use SDK_ARCH though.
Cheers,
Richard
prev parent reply other threads:[~2014-05-05 8:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-04 17:41 [PATCH] scripts/cleanup-workdir: fix after binutils-cross name change Stefan Stanacar
2014-05-05 8:13 ` Richard Purdie [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=1399277591.12731.106.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=sstncr@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