On Tue, 10 Sep 2019 at 13:56, Zheng, Ruoqin
wrote:
> 3. Actually, my first plan is to write ${MACHINE_ARCH} in toolchain, but
> it was rejected
>
> +++ b/meta/classes/toolchain-scripts.bbclass
>
> @@ -101,6 +101,7 @@ toolchain_shared_env_script () {
>
> echo 'export CPPFLAGS="${TARGET_CP
-relocate-setup.d/ facility will be usefull.
--
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : zhengrq.f...@cn.fujistu.com
From: Alexander Kanavin [mailt
On Tue, 10 Sep 2019 at 10:07, Zheng, Ruoqin
wrote:
> In last patch, I put the config file in meta-environment as its do_install
> task is in the target environment which means the value of ${PACKAGE_ARCHS}
> is right.
>
> And it finally produce a nativesdk package.
>
>
>
> If I put the config fil
: Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.
On Mon, 9 Sep 2019 at 13:19, Zheng, Ruoqin
mailto:zhengrq.f...@cn.fujitsu.com>> wrote:
->What do these two sed commands do? If we create /etc/rpmrc just above, can it
have the right content from the beginning?
Well, in the envir
[mailto:alex.kana...@gmail.com]
Sent: Monday, September 09, 2019 9:07 PM
To: Zheng, Ruoqin/郑 若钦
Cc: OE-core
Subject: Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.
On Mon, 9 Sep 2019 at 13:19, Zheng, Ruoqin
mailto:zhengrq.f...@cn.fujitsu.com>> wrote:
->What do these two sed commands
On Mon, 9 Sep 2019 at 13:19, Zheng, Ruoqin
wrote:
> ->What do these two sed commands do? If we create /etc/rpmrc just above,
> can it have the right content from the beginning?
>
>
>
> Well, in the environment in Yocto Build system, the value of
> ${PACKAGE_ARCHS} include “–nativesdk” as not need
Zheng, Ruoqin/郑 若钦
Cc: OE-core
Subject: Re: [OE-core] [PATCH] rpm: make rpm work in toolchain.
On Mon, 9 Sep 2019 at 12:58, Zheng Ruoqin
mailto:zhengrq.f...@cn.fujitsu.com>> wrote:
rm -rf ${D}/var
+install -d ${D}/${SDKTARGETSYSROOT}/etc/rpm
Why not simply ${D}/etc/rpm?
+
On Mon, 9 Sep 2019 at 13:08, Zheng, Ruoqin
wrote:
> I'd like to explain the path ${SDKTARGETSYSROOT} in this patch.
>
> As you see, ${SDKTARGETSYSROOT} for x86_64 is
> /opt/poky/2.7+snapshot/sysroots/core2-64-pokysdk-linux.
>
> I make it because config file in host-sysroot as
> /opt/poky/2.7+snap
10012, China
MAIL : zhengrq.f...@cn.fujistu.com
> -Original Message-
> From: Zheng, Ruoqin/郑 若钦
> Sent: Monday, September 09, 2019 6:57 PM
> To: openembedded-core@lists.openembedded.org
> Cc: Zheng, Ruoqin/郑 若钦
> Subject: [OE-core][PATCH] rpm: make rpm work in toolchain.
&g
On Mon, 9 Sep 2019 at 12:58, Zheng Ruoqin
wrote:
> rm -rf ${D}/var
> +install -d ${D}/${SDKTARGETSYSROOT}/etc/rpm
>
Why not simply ${D}/etc/rpm?
> +sed -i 's/-nativesdk//g' ${D}/${SDKTARGETSYSROOT}/etc/rpmrc
> +sed -i 's/-/_/' ${D}/${SDKTARGETSYSROOT}/etc/rpmrc
We need to configure rpm to use package architecture from yocto build
system.
Signed-off-by: Zheng Ruoqin
---
meta/recipes-devtools/rpm/rpm_4.14.2.1.bb | 15 +++
1 file changed, 15 insertions(+)
diff --git a/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb
b/meta/recipes-devtools/rpm/rpm_
11 matches
Mail list logo