From: akuster808 <akuster808@gmail.com>
To: "Aníbal Limón" <anibal.limon@linux.intel.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [dizzy][PATCH] files/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment setup file
Date: Tue, 10 Feb 2015 13:16:17 -0800 [thread overview]
Message-ID: <54DA7521.8040209@gmail.com> (raw)
In-Reply-To: <1423497825-4095-1-git-send-email-anibal.limon@linux.intel.com>
staging.
thanks.
- armin
On 02/09/2015 08:03 AM, Aníbal Limón wrote:
> When specify a target sdk dir that contains default install dir as
> subdir,
>
> target_sdk_dir=/opt/poky/$version/
> custom_target_sdk_dir=/opt/poky/$version/some
>
> The target_sdk_dir variable in environment-setup file is replaced twice
> causes to point to wrong PATH.
>
> In order to fix filter environment-setup file in second replacement.
>
> [YOCTO #7032]
>
> (From OE-Core rev: 02ecaa69abe97fe2f01cd609e0e59933c0f9ddbf)
>
> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> meta/files/toolchain-shar-template.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/files/toolchain-shar-template.sh b/meta/files/toolchain-shar-template.sh
> index 0d679a6..4a7fbd5 100644
> --- a/meta/files/toolchain-shar-template.sh
> +++ b/meta/files/toolchain-shar-template.sh
> @@ -158,6 +158,7 @@ for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do
> $SUDO_EXEC find $replace -type f -exec file '{}' \; | \
> grep ":.*\(ASCII\|script\|source\).*text" | \
> awk -F':' '{printf "\"%s\"\n", $1}' | \
> + grep -v "$target_sdk_dir/environment-setup-*" | \
> $SUDO_EXEC xargs -n32 sed -i -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g"
> done
>
>
prev parent reply other threads:[~2015-02-10 21:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 16:03 [dizzy][PATCH] files/toolchain-shar-template.sh: fix replace target_sdk_dir twice in environment setup file Aníbal Limón
2015-02-10 21:16 ` akuster808 [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=54DA7521.8040209@gmail.com \
--to=akuster808@gmail.com \
--cc=anibal.limon@linux.intel.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 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.