Re: Custom parameter passing to rpm

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

 



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


[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