Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-12 Thread Alexander Kanavin
On Fri, 12 Apr 2019 at 10:57, Zheng, Ruoqin wrote: > > > echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> > > > $script > > > + echo 'export MACHINE_ARCH=${MACHINE_ARCH}' >> $script > > > Please explain why this change in the commit. > > Dnf is based on rpm and rpm need to

Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-12 Thread Zheng, Ruoqin
g, 210012, China MAIL : zhengrq.f...@cn.fujistu.com > -Original Message- > From: Alexander Kanavin [mailto:alex.kana...@gmail.com] > Sent: Thursday, April 11, 2019 7:19 PM > To: Zheng, Ruoqin/郑 若钦 > Cc: OE-core > Subject: Re: [OE-core] [PATCH] dnf: Enable nativesdk > > On Th

Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-11 Thread richard . purdie
On Thu, 2019-04-11 at 14:16 +0200, Alexander Kanavin wrote: > Presumably to be able to put dnf into SDKs? nativesdk-dnf would depend on nativesdk-python3-core, not python3-core though? nativesdk-dnf doesn't run target packages? Cheers, Richard -- __

Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-11 Thread Alexander Kanavin
Presumably to be able to put dnf into SDKs? Alex On Thu, 11 Apr 2019 at 14:05, Richard Purdie wrote: > > On Thu, 2019-04-11 at 13:19 +0200, Alexander Kanavin wrote: > > On Thu, 11 Apr 2019 at 08:13, Zheng Ruoqin < > > zhengrq.f...@cn.fujitsu.com> wrote: > > > > > +RDEPENDS_${PN}_class-nativesdk

Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-11 Thread Richard Purdie
On Thu, 2019-04-11 at 13:19 +0200, Alexander Kanavin wrote: > On Thu, 11 Apr 2019 at 08:13, Zheng Ruoqin < > zhengrq.f...@cn.fujitsu.com> wrote: > > > +RDEPENDS_${PN}_class-nativesdk += " \ > > + python3-core \ > > + python3-codecs \ > > + python3-netclient \ > > + python3-email \ > > + pytho

Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-11 Thread Alexander Kanavin
On Thu, 11 Apr 2019 at 08:13, Zheng Ruoqin wrote: > --- a/meta/classes/toolchain-scripts.bbclass > +++ b/meta/classes/toolchain-scripts.bbclass > @@ -101,6 +101,7 @@ toolchain_shared_env_script () { > echo 'export CPPFLAGS="${TARGET_CPPFLAGS}"' >> $script > echo 'export KCFLAGS="-