From: Robert Yang <liezhi.yang@windriver.com>
To: Dengke Du <dengke.du@windriver.com>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] coreutils: correct the case for class-native
Date: Wed, 6 Apr 2016 12:50:11 +0800 [thread overview]
Message-ID: <57049583.8060608@windriver.com> (raw)
In-Reply-To: <39560f98b94a3d0d24c44c7ff139aa1c605a8498.1459917622.git.dengke.du@windriver.com>
On 04/06/2016 12:45 PM, Dengke Du wrote:
> The function of do_install_append_class-native for class-native
> had alread exist,so exclude the class-native in function
> do_install_append.
>
> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> ---
> meta/recipes-core/coreutils/coreutils_8.25.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-core/coreutils/coreutils_8.25.bb b/meta/recipes-core/coreutils/coreutils_8.25.bb
> index 419a693..e8e269a 100644
> --- a/meta/recipes-core/coreutils/coreutils_8.25.bb
> +++ b/meta/recipes-core/coreutils/coreutils_8.25.bb
> @@ -70,6 +70,10 @@ do_compile_prepend () {
> }
>
> do_install_append() {
> + if [ "${CLASSOVERRIDE}" = "class-native" ]; then
> + return
> + fi
> +
We need this patch, otherwise the tools provided by coreutils-native
are broken, for example, "ln" is "ln.coreutils" in native sysroot,
which can't be used by default.
This patch can fix the problem.
// Robert
> for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done
>
> install -d ${D}${base_bindir}
>
next prev parent reply other threads:[~2016-04-06 4:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-06 4:44 [PATCH 0/1] coreutils: correct the case for class-native Dengke Du
2016-04-06 4:45 ` [PATCH 1/1] " Dengke Du
2016-04-06 4:49 ` dengke.du
2016-04-06 4:50 ` Robert Yang [this message]
2016-04-06 8:42 ` Joshua G Lock
2016-04-06 8:53 ` Robert Yang
2016-04-21 4:49 ` dengke.du
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=57049583.8060608@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=dengke.du@windriver.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.