This is the mail archive of the cygwin-apps@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: /WINDOWS


> From: Corinna Vinschen
> 
> On Dec 14 10:49, John Morrison wrote:
> > *IF* a /WINDOWS (of some form) was added (in some manner)
> > to cygwin, would that mean I could loose the uname call
> > from /etc/postinstall/base-files-mketc.sh that's causing
> > so much grief under XP?
> 
> I don't understand.  What was the problem with uname on XP?

I don't know, but according to the thread "Re: Setup hangs in postinstall"

<snip of_email_dated="20031207" from="John Morrison">

> process hangs on two postinstall scripts;
> base-files-mketc.sh

base-files-mketc does use uname,

> base-files-profile.sh

base-files-profile does not...

> I then try to run the scripts manually and they still hang.
> I have run them with sh -x to see where they're getting
> stuck and I have found that it is any time they try to assign a
> variable
> to the output of a command i.e.: OSNAME="`/bin/uname -s`"
> I can reproduce the problem with just that line on from a bash or sh
> shell prompt. I have also tried to strace this command, but I get no
> output at all. Setting variables to a simple string works fine.
>
> What is interesting is that the problem happens on both my laptop and
> the clients workstation, but not my co-workers laptop. They are all
> running XP SP1. I also can not reproduce the problem on another laptop
> that is running Windows 2000 SP4.

</snip>

it appears to have problems in a postinstall script.

J.

PS, I don't use XP.


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