This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Postinstall hangs with bash

On Wed, 1 Oct 2003, Hannu E K Nevalainen (garbage mail) wrote:

> [snip]
> I've done attempts at debugging this, but time has been a huge limitation so
> far. IIUC I need to mess around with setup.ini and that particular package.
> I need to read up on how this is supposed to work; has not happened yet.


Nope, you don't need to do anything fancy to test postinstall scripts.
Remember: *any* file in /etc/postinstall that ends with .sh or .bat is a
postinstall script as far as setup is concerned.  You can use the method
described in <> for
testing postinstall scripts without changing your installation or
setup.ini.  Just don't forget to rename the script from .sh.done back to
.sh if you plan to run it again.

FWIW, if you're able to reproduce the hang, I'd be very interested in
seeing the results of the experiments outlined in the above message on
your machine...  Maybe you could glean something from the strace output as
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]