[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Is it possible to dynamize "requires" at RPM build time?



Matthew Miller (mattdm mattdm org) said: 
> On Wed, Aug 23, 2006 at 11:51:27AM -0400, Bill Nottingham wrote:
> > > You're using "buildroot" in the mock-buildsystem-buildroot sense, not the
> > > rpm-BuildRoot sense, right? Doesn't the chrooted environment get its own rpm
> > > and rpm database? Isn't that the one you want to use?
> > rpm database is created when the buildroot is installed. Ergo, by the
> > rpm outside the chroot, which very likely may not match the rpm version
> > inside the chroot.
> 
> In that case, the rpm database shouldn't be installed into the chroot,
> should it? At the very least, not at the standard location for the in-place
> rpm....

So, how would you expect rpm in the chroot to work? It couldn't get out
of the chroot to query the database, and you'd have to have --initdb
write out /etc/rpm/macros to point the db someplace else...

Bill


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]