Re: Can I rename my C:\Cygwin64 directory to C:\Cygwin?

2022-11-17 Thread Jim Reisert AD1C
On Thu, Nov 17, 2022 at 11:35 AM Andrey Repin  wrote:

Please look for my earlier message[1](thread) regarding installation path
> changes for provided PowerShell script.
>
> > Where does setup.exe get its information from?  Is there a .ini file
> > that I will need to edit?
>
> The rest of the information is taken from `$InstallPath/etc/setup`
>
> > Is there anything else I'm missing?
>
> Depends on your setup, existing symlink targets may be a problem.
>
> [1] https://cygwin.com/pipermail/cygwin/2022-August/thread.html#252113
>

Thank you Andrey!

-- 
Jim Reisert AD1C, , https://ad1c.us

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Can I rename my C:\Cygwin64 directory to C:\Cygwin?

2022-11-17 Thread Andrey Repin
Greetings, Jim Reisert AD1C!

> Now that Cygwin x86 is nearing/has reached end-of-life, I would like
> to rename my C:\Cygwin64 directory to C:\Cygwin.

> Other than updating my Windows environment variable (CYGROOT), are
> there any "gotchas" in doing this?  I already have a D:\Home directory
> specified in /etc/nsswitch.conf so I'm not expecting the move to break
> that.

Please look for my earlier message[1](thread) regarding installation path
changes for provided PowerShell script.

> Where does setup.exe get its information from?  Is there a .ini file
> that I will need to edit?

Whoever it gets the information, you could easily change it the first time you
update the installation at the new place.
Consider it a non-issue.
The rest of the information is taken from `$InstallPath/etc/setup`

> My main concern is that the Cygwin Perl installer may get confused.  I
> currently have this in my Cygwin environment.  It doesn't appear that
> such a change will be a problem:

>  
> PERL5LIB=/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5

> Is there anything else I'm missing?

Depends on your setup, existing symlink targets may be a problem.

[1] https://cygwin.com/pipermail/cygwin/2022-August/thread.html#252113


-- 
With best regards,
Andrey Repin
Thursday, November 17, 2022 21:18:24

Sorry for my terrible english...


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Can I rename my C:\Cygwin64 directory to C:\Cygwin?

2022-11-17 Thread Jim Reisert AD1C
Now that Cygwin x86 is nearing/has reached end-of-life, I would like
to rename my C:\Cygwin64 directory to C:\Cygwin.

Other than updating my Windows environment variable (CYGROOT), are
there any "gotchas" in doing this?  I already have a D:\Home directory
specified in /etc/nsswitch.conf so I'm not expecting the move to break
that.

Where does setup.exe get its information from?  Is there a .ini file
that I will need to edit?

My main concern is that the Cygwin Perl installer may get confused.  I
currently have this in my Cygwin environment.  It doesn't appear that
such a change will be a problem:

  
PERL5LIB=/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5:/cygdrive/d/Home/perl5/lib/perl5

Is there anything else I'm missing?

-- 
Jim Reisert AD1C, , https://ad1c.us

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple