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

RE: Installing to dynamic destination dir



thanks!
somehow I missed this chapter...

-----Original Message-----
From: Paul Nasrat [mailto:pauln@truemesh.com]
Sent: Thursday, August 07, 2003 8:33 AM
To: rpm-list@redhat.com
Subject: 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


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




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