Re: %postin hackery, passing arguments to post-install script/program

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

 



seth vidal wrote:
On Wed, 2005-06-01 at 17:42 -0400, Jim Knoble wrote:

Circa 2005-06-01 dixit Paul Nasrat:

: And what happens if someone uses a non rpm cli to do the install
: (rpmlib) potentially via a gui, or via kickstart.

Then the postinstall script runs, and somecommand runs and gets its
input programmatically from a here document or an expect script and ...
it's the same no matter what method is used to install the package
(apart from rpm2cpio).

: rpm installs are designed to be non-interactive.  Instead write a config
: program users can use post install.

That's what this whole conversation has been about.  You obviously
haven't been paying attention.


he doesn't mean %post install.

he means after the whole transaction is done.

# rpm -ivh someshit.rpm
  someshit ############################### 100%
# someshit-config --make-it-work

-sv


Seth -

Sure, bit I want someshit-config to be included in the RPM. I guess it's up to me to draw the line between the number of packages and the functionality of each package, and what each package is capable of. I just wanted to make sure that I was on the right track here.

Thanks
-dant


[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