|
Home > Archive > Unix Programming > November 2004 > rpm question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Dmitry 2004-11-25, 5:53 pm |
| Hi,
I want to build rpm with installation scripts using variable, which
value is passed at rpm installation time.
Additional requirement is that scripts should not be interactive. Is
there're some standard way to do it (e.g. command line flag to rpm -i)
Thanks
| |
| James Antill 2004-11-26, 5:50 pm |
| On Thu, 25 Nov 2004 08:11:55 -0800, Dmitry wrote:
> Hi,
>
> I want to build rpm with installation scripts using variable, which
> value is passed at rpm installation time.
You can use --define for build time configuration. There are many rpm
spec files which do this (Eg. to do make check in the build ... or build a
debug build etc.)
If you want something at installation time, turn it into a runtime
config. via. a config. file or something.
--
James Antill -- james@and.org
Need an efficient and powerful string library for C?
http://www.and.org/vstr/
|
|
|
|
|