This is the mail archive of the cygwin@cygwin.com 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.

Hannu,

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 <http://cygwin.com/ml/cygwin/2003-10/msg00025.html> 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
well.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,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:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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