Re: What is up with BuildRoot ?

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

 



On Fri, Apr 21, 2006 at 08:44:17AM -0500, Tim Mooney wrote:

> > For a build POV, $RPM_BUILD_ROOT is an added prefix to the install path.
> 
> Which is pretty much what "prepends" means, and how I interpreted what
> Anh said. ;-)

But Anh was referring to the %files section.  IMHO, the %files section
is a list of filepaths that will be included in the target package, so
talking about "prepending" directories there sounds confusing.

> From an install point of view, or an %install point of view?  I tend to
> think of $RPM_BUILD_ROOT from a *build* point of view, possibly because of
> that _BUILD_ in the middle of the env.  I pretty much never think of it
> as something that gets deleted at some later point.  To me, it's something
> that's there during the build process (which, in my little conceptual
> world, includes %install).

Well, if you consider %files just as the target tree and remember that
this tree can be found below $RPM_BUILD_ROOT, no directory names have
to be prepended or removed from the filenames at all... :-).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux