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

Mark Hatle mark.hatle at windriver.com
Fri Nov 25 19:09:30 UTC 2016


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.)

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.
> 
> Ross
> 
> 




More information about the Openembedded-core mailing list