Re: Trying to add SystemD to Linux installed on the Linuxulator...

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Thu, 04 Apr 2024 14:27:32 UTC
@Goran,thanks for the suggestion. Unfortunately I realized that I can't
install Waydroid on the Linuxulator,based on what a developer told me :

"Use a VM. Android dev workflows cannot function without a linux kernel
(obv, all android devices are linux systems for this reason, they're bound
by design). Waydroid as it is, presently requires various linux drivers to
be loaded which are not going to work on any other operating system:
https://github.com/waydroid/waydroid/blob/main/tools/helpers/drivers.py"
<https://github.com/waydroid/waydroid/blob/main/tools/helpers/drivers.py>

so,this closes this project. But anyway,I can still use a bhyve vm. But
like this it is less interesting for me...

On Wed, Apr 3, 2024 at 1:25 PM Goran Mekić <meka@tilda.center> wrote:

> On 4/3/24 12:55, Mario Marietto wrote:
>
> Hello.
>
> There was a time when the developers were working on the WSL vers. 2
> (Windows Subsystem for Linux),and they hadn't developed SystemD yet. And I
> remember well that there was an external developer that had created a dirty
> but working hack to add it to WSL2. Yesterday I thought,why not try to
> adapt it and make it work on Linux (on the CentOS,maybe or on Ubuntu) that
> we have installed on our Linux emulation layer on FreeBSD ? I'm a
> hobbyist,I'm not sure if it is really needed. I want to leave the judgement
> to you. In the meantime I'll paste the script. I'm not able to adapt the
> script for the purpose only by myself,but I can help....
>
> full script here :
>
>
> https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-systemd-script.sh
>
> --
> Mario.
>
> Hello,
>
> I think you'll have more luck with https://reviews.freebsd.org/D15865.
> I'm not sure it still applies, but PID namespace virtualization is the way
> to go. Good luck!
>
> Regards,
> meka
>


-- 
Mario.