[OE-core] [PATCH v6] rootfs: Modify RPM installation

David Vincent freesilicon at gmail.com
Thu Dec 22 14:45:34 UTC 2016


On jeudi 22 décembre 2016 14:09:32 CET Burton, Ross wrote:
> Small problem: we always build rpm-native as we need it for some tools, but
> rpmlibdir is only defined in package_rpm.bbclass which doesn't have to be
> inherited.

I didn't know that rpm-native was built in any case, rpm being selected as 
package manager or not.
 
> This leads to just --with-path-database= being passed to configure.  What's
> the behaviour of RPM when this happens? What does it default to?  If it's
> going to be safe (ie a sane default is used), please update the commit
> message to explain this.

Indeed, this can lead to undefined behavior. I can propose some solutions but 
which one would you find better :
	- Setting a weak assignment for rpmlibdir inside rpm recipe
	- Setting a default assignment for rpmlibdir_class-native inside rpm recipe
	- Another option I didn't think of

> Ross
> 

David



More information about the Openembedded-core mailing list