[OE-core] [PATCH 09/11] package_rpm.bbclass: Filter out unwanted file deps for nativesdk packages

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Jun 15 14:05:07 UTC 2017


> -----Original Message-----
> From: Alexander Kanavin [mailto:alexander.kanavin at linux.intel.com]
> Sent: den 15 juni 2017 16:00
> To: Peter Kjellerstedt <peter.kjellerstedt at axis.com>; openembedded-
> core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 09/11] package_rpm.bbclass: Filter out
> unwanted file deps for nativesdk packages
> 
> On 06/15/2017 04:53 PM, Peter Kjellerstedt wrote:
> > Filter out any file dependencies on absolute paths and any
> > dependencies on Perl modules for nativesdk packages. It is assumed
> > that they will be provided by the native host if needed, and they
> mess
> > up the dependency handling if they are present.
> 
> Does this mean you can also drop the "bin/sh" hack from here in the
> same
> file?
> 
>      print_deps(srcrprovides + (" /bin/sh" if
> srcname.startswith("nativesdk-") else ""), "Provides",
> spec_preamble_top, d)
> 
> 
> Alex

No, unfortunately not. I tried it, but it turns out rpm adds the 
dependency itself even if it is not specified in the .spec file 
due to the postinst scriptlet.

//Peter




More information about the Openembedded-core mailing list