[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:22:32AM -0400, Jesse Keating wrote:
> > On Wednesday 23 August 2006 11:06, Chris Adams wrote:
> > > Not that I'm advocating it, but why?  rpmbuild is pretty much
> > > independent of the RPM database except for querying build dependencies.
> > The rpm database may not have been created with the same rpm you'd be
> > using in the buildroot. *BOOM*
> 
> 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.

Bill


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