pyavitz / rpi-img-builder

Image Builder for the Raspberry Pi
Other
166 stars 31 forks source link

Cygwin support #41

Closed AverseABFun closed 2 years ago

AverseABFun commented 2 years ago

Could you add support for cygwin so us over on windows can enjoy this super cool thing you made?

arakeen commented 2 years ago

If you install WSL2 you can use a Linux instance (Debian or Ubuntu type works best) inside it and it can create the images. You just need to treat the system as a cross compiler system since it is an x86 system and not arm based.

AverseABFun commented 2 years ago

I would but umm... I kind of broke wsl a while ago and I can't figure out how to fix wsl.

Sent from my SUPER OLD iPad that can't update ITS SO OLD

On Feb 22, 2022, at 5:11 PM, Tenkawa @.***> wrote:

If you install WSL2 you can use a Linux instance (Debian or Ubuntu type works best) inside it and it can create the images. You just need to treat the system as a cross compiler system since it is an x86 system and not arm based.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

arakeen commented 2 years ago

The problem is that you need to be emulating the actual os environment (kernel/libraries/binaries) from Linux and Cygwin does not do that. Cygwin is a layer that sits on Win32 to be an Linux API emulation layer. If you use IRC I can help you get WSL fixed however.

pyavitz commented 2 years ago

Dual boot on a x86_64 or use an SBC that is running a supported aarch64 distro. I don't have the Windows OS available to me and even if I did, I wouldn't go about making the builder compatible. Someone is more than welcome to do so, if they so wish.

AverseABFun commented 2 years ago

Okay so I'm available at 4:00 CST tomorrow and I will have to get IRC so 4:30 CST tomorrow?

Sent from my SUPER OLD iPad that can't update ITS SO OLD

On Feb 22, 2022, at 6:28 PM, Tenkawa @.***> wrote:

The problem is that you need to be emulating the actual os environment (kernel/libraries/binaries) from Linux and Cygwin does not do that. Cygwin is a layer that sits on Win32 to be an Linux API emulation layer. If you use IRC I can help you get WSL fixed however.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

AverseABFun commented 2 years ago

Okay I looked up what IRC is so I mean I will have to get a IRC client

Sent from my SUPER OLD iPad that can't update ITS SO OLD

On Feb 22, 2022, at 6:28 PM, Tenkawa @.***> wrote:

The problem is that you need to be emulating the actual os environment (kernel/libraries/binaries) from Linux and Cygwin does not do that. Cygwin is a layer that sits on Win32 to be an Linux API emulation layer. If you use IRC I can help you get WSL fixed however.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.

arakeen commented 2 years ago

You can use the web based client at https://web.libera.chat. Make sure you read the web pages about registering a nickname or you will not be able to join the support channel as it requires being logged into your account.

pyavitz commented 2 years ago

As I don't plan on ever supporting Cygwin, this will be going into the rubbish. If someone feels like doing the work they are more than welcome too.