RPM Install Parameters

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

 



Howdy All,

Here is my scenario: We have three different test environments setup on
one server. When an RPM package is installed in the different test
environments, it is done via directory paths. For example, the
installation paths may be /foo/tst1, /foo/tst2, etc. Is it possible to
pass an arbitrary variable to RPM during the install (-ivh) step such
that the pre and post scripts can use that info to decide which path is
the appropriate install path?

For example, 'rpm -ivh --testenv tst1 ......' and %_destdir could be set
to the relevant path.

Thanks,
Bob
--------
Robert L. Fulwiler
CEDRS SCM
robert.l.fulwiler@xxxxxxxxxx
http://dumbo2.redars.ca.boeing.com/CM
(206.655.8400)


_______________________________________________
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