[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Use of rpm --root to build a cross root filesystem: pre/post/preun/postun scripts problem
- From: Frank Cusack <fcusack fcusack com>
- To: David Lim Sun COM, RPM Package Manager <rpm-list redhat com>
- Cc:
- Subject: Re: Use of rpm --root to build a cross root filesystem: pre/post/preun/postun scripts problem
- Date: Tue, 16 May 2006 11:25:30 -0700
On May 16, 2006 10:32:48 AM -0700 David Lim <David Lim Sun COM> wrote:
But supposing I want to use --root to be able to install two independent
installations of an RPM? I think that might be a valid use of --root. I.e.
I'm not going to run the installed rpm in a chroot environment, I just
want two independent installations of the same version of the software.
Then you probably want --prefix.
So my question is, is it possible to access the arg to --root
in the %post script of my rpm?
Not as such. You can do the standard stuff to tell if you are in
a chroot, however.
-frank
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]