Re: Use of rpm --root to build a cross root filesystem: pre/post/preun/postun scripts problem

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

 



On May 16, 2006 10:32:48 AM -0700 David Lim <David.Lim@xxxxxxx> 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

_______________________________________________
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