skiffos / SkiffOS

Any Linux distribution, anywhere.
https://skiffos.com
MIT License
687 stars 51 forks source link

wsl: start init process with wsl-shell #224

Closed paralin closed 2 years ago

paralin commented 2 years ago

Fixes #213

Needs testing.

clayauld commented 2 years ago

I tried compiling from the fix-wsl branch. I'm getting an issue with aircrack-ng image

paralin commented 2 years ago

@clayauld Please pull & try now.

clayauld commented 2 years ago

Success! image

paralin commented 2 years ago

@clayauld awesome, got it first try!

Could you please confirm that running multiple instances of wsl.exe start up correctly & that there's not duplicate "systemd" instances in "ps -aux" ?

By the way; you can upgrade this remotely with push_image.sh over ssh same as the other targets. There's a "wsl.exe --shutdown" command which forces reboot if needed.

clayauld commented 2 years ago

Here is the output from ps -a image

I also tried some of the wslu utilities and it seems wslpath isn't working (not installed) and some of the InteropServer things don't work.

image

image

Not sure if this is a real problem, but it may create some interesting issues down the road if this was to be used as more than just a testing system.

paralin commented 2 years ago

Thanks. Probably there are 1-2 paths that should be added to the bind mount list for skiff-init-squashfs.

Feel free to open another issue about that specifically, I'll follow up on it either way this evening.