On Fri, Apr 21, 2006 at 07:56:13AM -0500, Tim Mooney wrote: > In regard to: Re: What is up with BuildRoot ?, Jos Vos said (at 10:18am > on...: > > >On Thu, Apr 20, 2006 at 03:59:55PM -0700, Dinh Tien Tuan Anh wrote: > > > >>I guess that's why RPM prepends the BuildRoot to the %file section > >>automatically. Totally make sense > > > >That's the wrong way of looking at it, there is nothing prepended. > >The %files section contains the target pathnames of the package and > >the target root tree is stored under BuildRoot while building the > >package. > > Can you explain more why it's wrong? While what Anh said may not be > *exactly* what's happening, it's conceptually useful. I'm very intrigued > to find out why you think what he said is "wrong". It is conceptually useful to look at it the other way round -- which is incidentally what actually happens too. The %files section lists the files inside a package. The fact they are installed into a temporal root during packaging is a techincal detail. One can imagine arbitrary obscure packaging methods (e.g., hijacking syscalls and complete virtualization of the installation), but they would not change a bit on the concept of %files. Yeti -- That's enough. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list