[OE-core] [PATCH] toolchain-scripts: make rpm work in toolchain

Lei, Maohui leimaohui at cn.fujitsu.com
Tue Jun 18 08:03:30 UTC 2019


ping

> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-
> core-bounces at lists.openembedded.org] On Behalf Of Lei, Maohui
> Sent: Thursday, June 06, 2019 10:39 AM
> To: richard.purdie at linuxfoundation.org
> Cc: openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] toolchain-scripts: make rpm work in toolchain
> 
> Hi, Richard
> 
> > Whilst I can guess why, its not obvious at all the dnf needs
> > MACHINE_ARCH. I'd probably be happier with a better variable name.
> > Which code exactly is using it?
> 
> Arch information is necessary for rpm. As what do for dnf-native in
> _configure_rpm function, nativesdk-dnf has to do the same work.
> But the environment for nativesdk doesn't supply arch information. I think
> MACHINE_ARCH is suitable to supply arch information for nativesdk.
> How about your Opinion?
> 
> Best regards
> Lei
> 
> 
> 
> > -----Original Message-----
> > From: richard.purdie at linuxfoundation.org
> > [mailto:richard.purdie at linuxfoundation.org]
> > Sent: Tuesday, June 04, 2019 6:26 PM
> > To: Lei, Maohui
> > Cc: openembedded-core at lists.openembedded.org
> > Subject: Re: [OE-core] [PATCH] toolchain-scripts: make rpm work in toolchain
> >
> > On Tue, 2019-06-04 at 08:29 +0000, Lei, Maohui wrote:
> > > Hi Richard
> > >
> > > This patch is necessary for dnf-nativesdk which has been merged. But
> > > this patch is still ignored.
> > > Do you have any comment about this patch?
> >
> > Basically I really don't like exporting "random" variables in the SDK,
> > particularly when the meaning/use of them isn't clear.
> >
> > Whilst I can guess why, its not obvious at all the dnf needs
> > MACHINE_ARCH. I'd probably be happier with a better variable name.
> > Which code exactly is using it?
> >
> > Cheers,
> >
> > Richard
> >
> >
> 
> 
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list