RE: Custom parameter passing to rpm

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

 



Thanks James for the help, Today morning I got the solution to my
problem, I am now using multiple prefix to get the desired output. In it
we can defines multiple prefixes and then using --relocate command
change the directory at the install time.
________________________      
Thanks and Regards,
Mayank Johri 
Global Packaging
570 Washington St. 3fl. 
Ph: 212-647-3076 
email: Mayank_Johri@xxxxxx 


-----Original Message-----
From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx]
On Behalf Of James Olin Oden
Sent: Friday, May 20, 2005 9:05 AM
To: RPM Package Manager
Subject: Re: Custom parameter passing to rpm


On 5/19/05, Johri, Mayank (IDS AIS PE) <mayank_johri@xxxxxx> wrote:
> 
> 
> Hello All, 
> 
> I wanted to know if in rpm there is any way a custom parameters be
passed at
> the installation time. 
> Such as 
> 
Macros in scriptlets are are evaluated at build time.   There are some
macros (well quite a few) that govern rpm's behavior (such as where it
generates tempfiles...not your scriptlets, rpm) at install time.  
Those you can set via --define or via ~/.macros or /etc/rpm/macros.  
For macros in the scriptlets you wrote you can't change those,
because, as mentioned above, they have already been expanded on your
build server.

There has been some talk about install time expansion of macros with
the rpm developers, but as yet no one has made it happen (OTOH, lots
of other things have).

Cheers...james

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

If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/
--------------------------------------------------------


[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