Re: Forcing setup.exe not to create WSL symlinks

2020-09-06 Thread Jon Turney
On 27/08/2020 13:48, Michael Wild via Cygwin wrote: Hmm, OK, changing script.cc to not strip out CYGWIN is trivial. But the harder part is that main.cc uses ShellExecuteEx() with SHELLEXECUTEINFO.verb set to "runas" in order to re-run setup elevated. This resets all environment variables back to

Re: Forcing setup.exe not to create WSL symlinks

2020-08-30 Thread Michael Wild via Cygwin
On Sun, 30 Aug 2020, 22:24 Jon Turney wrote: > On 27/08/2020 06:48, Michael Wild via Cygwin wrote: > > On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote: > >> > >> However, even if that's fixed, there's no value for winsymlinks in > >> CYGWIN env var to specify the behaviour of Cygwin 3.1.4 and pr

Re: Forcing setup.exe not to create WSL symlinks

2020-08-30 Thread Jon Turney
On 27/08/2020 06:48, Michael Wild via Cygwin wrote: On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote: However, even if that's fixed, there's no value for winsymlinks in CYGWIN env var to specify the behaviour of Cygwin 3.1.4 and previous (i.e. always create traditional symlinks, don't use WSL

Re: Forcing setup.exe not to create WSL symlinks

2020-08-30 Thread Jon Turney
On 27/08/2020 13:49, Michael Wild via Cygwin wrote: On Thu, Aug 27, 2020 at 2:48 PM Michael Wild wrote: [...] I attached this fix as a patch. [...] Thanks. Applied. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: Forcing setup.exe not to create WSL symlinks

2020-08-27 Thread Michael Wild via Cygwin
On Thu, Aug 27, 2020 at 2:48 PM Michael Wild wrote: > > > [...] I attached this fix as a patch. [...] > > No, I didn't... 0001-Keep-CYGWIN-environment-variable-when-running-script.patch Description: Binary data -- Problem reports: https://cygwin.com/problems.html FAQ: https

Re: Forcing setup.exe not to create WSL symlinks

2020-08-27 Thread Michael Wild via Cygwin
On Thu, Aug 27, 2020 at 11:44 AM Michael Wild wrote: > > On Thu, Aug 27, 2020 at 11:02 AM Corinna Vinschen wrote: > >> On Aug 27 07:48, Michael Wild via Cygwin wrote: >> > On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote: >> > >> > > >> > > It turns out to be the case that setup doesn't propagate

Re: Forcing setup.exe not to create WSL symlinks

2020-08-27 Thread Andrey Repin
Greetings, Corinna Vinschen! > On Aug 27 07:48, Michael Wild via Cygwin wrote: >> On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote: >> >> > >> > It turns out to be the case that setup doesn't propagate the CYGWIN >> > environment variable into the environment for scripts it runs, so >> > setting

Re: Forcing setup.exe not to create WSL symlinks

2020-08-27 Thread Michael Wild via Cygwin
On Thu, Aug 27, 2020 at 11:02 AM Corinna Vinschen wrote: > On Aug 27 07:48, Michael Wild via Cygwin wrote: > > On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote: > > > > > > > > It turns out to be the case that setup doesn't propagate the CYGWIN > > > environment variable into the environment for

Re: Forcing setup.exe not to create WSL symlinks

2020-08-27 Thread Corinna Vinschen
On Aug 27 07:48, Michael Wild via Cygwin wrote: > On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote: > > > > > It turns out to be the case that setup doesn't propagate the CYGWIN > > environment variable into the environment for scripts it runs, so > > setting that isn't going to make any differen

Re: Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Michael Wild via Cygwin
On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote: > > It turns out to be the case that setup doesn't propagate the CYGWIN > environment variable into the environment for scripts it runs, so > setting that isn't going to make any difference. That should probably > be considered a bug. > > However

Re: Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Jon Turney
On 26/08/2020 19:29, Achim Gratz wrote: Michael Wild via Cygwin writes: Is there a way to disable WSL symlinks when installing Cygwin with setup.exe? Problem is that Docker on Windows apparently doesn't support them (see https://github.com/moby/moby/issues/41058). I would like to use a As a co

Re: Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Michael Wild via Cygwin
On Wed, Aug 26, 2020 at 9:06 PM Michael Wild wrote: > > > On Wed, Aug 26, 2020 at 8:31 PM Achim Gratz wrote: > >> Michael Wild via Cygwin writes: >> > Is there a way to disable WSL symlinks when installing Cygwin with >> > setup.exe? Problem is that Docker on Windows apparently doesn't support >>

Re: Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Michael Wild via Cygwin
On Wed, Aug 26, 2020 at 8:31 PM Achim Gratz wrote: > Michael Wild via Cygwin writes: > > Is there a way to disable WSL symlinks when installing Cygwin with > > setup.exe? Problem is that Docker on Windows apparently doesn't support > > them (see https://github.com/moby/moby/issues/41058). I would

Re: Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Achim Gratz
Michael Wild via Cygwin writes: > Is there a way to disable WSL symlinks when installing Cygwin with > setup.exe? Problem is that Docker on Windows apparently doesn't support > them (see https://github.com/moby/moby/issues/41058). I would like to use a > custom Docker image for GitHub Actions to re

Re: Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Michael Wild via Cygwin
Hi Andrey On Wed, Aug 26, 2020 at 5:20 PM Andrey Repin wrote: > Greetings, Michael Wild! > > > Is there a way to disable WSL symlinks when installing Cygwin with > > setup.exe? Problem is that Docker on Windows apparently doesn't support > > them (see https://github.com/moby/moby/issues/41058). I

Re: Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Andrey Repin
Greetings, Michael Wild! > Is there a way to disable WSL symlinks when installing Cygwin with > setup.exe? Problem is that Docker on Windows apparently doesn't support > them (see https://github.com/moby/moby/issues/41058). I would like to use a > custom Docker image for GitHub Actions to reproduc

Forcing setup.exe not to create WSL symlinks

2020-08-26 Thread Michael Wild via Cygwin
Hi all Is there a way to disable WSL symlinks when installing Cygwin with setup.exe? Problem is that Docker on Windows apparently doesn't support them (see https://github.com/moby/moby/issues/41058). I would like to use a custom Docker image for GitHub Actions to reproducibly build my packages but