Re: Pausing RPM installation for user input

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

 



Dan Trainor wrote:
> I guess whatever I do, it will involve %post, since I've been told time
> and time again that RPM, by design (and otherwise I would agree with
> this, if not for this particular project) was designed to be a
> completely automated process, requiring no outside input other than the
> command issued to actually install the RPM.

Have you considered including a configuration script in your package
and calling that configuration script after rpm has installed it?
Then you are back in normal space and everything should be fine.

  #!/bin/sh
  rpm -Uvh mypackage.rpm
  exec /usr/sbin/reconfigure-mypackage

Bob


[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