On 11/25/16 12:17 PM, Burton, Ross wrote: > > On 24 November 2016 at 10:49, David Vincent <[email protected] > <mailto:[email protected]>> 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 > > -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
