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

Re: Installing to dynamic destination dir



On Thu, Aug 07, 2003 at 09:33:53AM +0200, Galit Hayat wrote:

> I would like to know how can I install packages to a dynamic
> destination dir, defined in run time. I used BuildRoot: in the spec file
> but then I have to make sure the files are under this directory in build

BuildRoot is for building so you don't clobber / fs.

What you want is to look at relocatable packages check out the section
in max-rpm:

http://rpm.org/max-rpm/ch-rpm-reloc.html

Then you can install with --relocate /some/path=/another/path

Paul




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