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

David Vincent freesilicon at gmail.com
Mon Nov 28 10:59:11 UTC 2016


On vendredi 25 novembre 2016 13:09:30 CET Mark Hatle wrote:
> On 11/25/16 12:17 PM, Burton, Ross wrote:
> > On 24 November 2016 at 10:49, David Vincent <freesilicon at gmail.com
> > 
> > <mailto:freesilicon at gmail.com>> wrote:
> >     -        self._setup_dbg_rootfs(['/etc/rpm', '/var/lib/rpm',
> >     '/var/lib/smart']) +        self._setup_dbg_rootfs(['/etc/rpm',
> >     rpm_libdir, '/var/lib/smart'])> 
> > Can we extend the un-hardcoding so this uses ${localstatedir}/lib/smart,
> > and rpmlibdir also uses ${localstatedir}?
> 
> The value for the rpm directory is hard coded into the configuration file.
> Anything we do outside of that MUST match.  Inspect the rpm macros file for
> the matching value.  (This is why /var/lib/rpm was hard coded in the past.)

And that was the root cause of the problem when rpmlibdir is modified from its 
default value. Maybe the rpmlibdir variable should be documented in the ref-
manual for those who wants to tinker with it.

> 
> As for smart, I don't remember the rules offhand, so someone will need to
> figure out if it's variable (compile time) or hard coded.
> 
> --Mark
> 
> > Also current master lets you not bother passing True to d.getVar() as that
> > is the default now.

So should I send a v4 ?

> > 
> > Ross





More information about the Openembedded-core mailing list