Fwd: rpm packaging: package configuration

Richard W.M. Jones rjones at redhat.com
Wed Jul 13 17:04:55 UTC 2011


On Wed, Jul 13, 2011 at 10:57:03AM +0200, Olivier Sallou wrote:
> I create a new package.
> At install, we need to ask for some quesitons to the user to
> preconfigure the application.

As others have said, this is a bad idea and not permitted for Fedora.
Personally I think it's a misfeature of apt/dpkg that updates are not
completely automated by default.

Nevertheless, it *is* possible to write an RPM which asks questions
during the %post script, and in fact I have used RPMs which did this
in the past (a bit of proprietary software where installation required
a license key to be entered on the keyboard as part of the EULA).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


More information about the devel mailing list