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

Re: What is up with BuildRoot ?




On Apr 21, 2006, at 8:56 AM, 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.

Jos-

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


Hehe, I almost replied with a similar comment as Jos.

All depends on your POV, kinda like daylight savings time.

For a build POV, $RPM_BUILD_ROOT is an added prefix to the install path.

For a install POV, $RPM_BUILD_ROOT is a deleted prefix from the staging path.

The rest is just the way human brains work. ;-)

73 de Jeff


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