From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id AE67877100 for ; Wed, 6 Apr 2016 04:50:12 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id u364oDHF011186 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 5 Apr 2016 21:50:13 -0700 (PDT) Received: from [128.224.162.236] (128.224.162.236) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Tue, 5 Apr 2016 21:50:12 -0700 To: Dengke Du , References: <39560f98b94a3d0d24c44c7ff139aa1c605a8498.1459917622.git.dengke.du@windriver.com> From: Robert Yang Message-ID: <57049583.8060608@windriver.com> Date: Wed, 6 Apr 2016 12:50:11 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <39560f98b94a3d0d24c44c7ff139aa1c605a8498.1459917622.git.dengke.du@windriver.com> Subject: Re: [PATCH 1/1] coreutils: correct the case for class-native X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2016 04:50:13 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit 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 > --- > 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} >