Waydroid on Silverblue!

So kernel 5.15 has made it to ostree now and rpm-ostree update should give you binder.

For ashmem, I created this helper script here : GitHub - JayDoubleu/silverblue-toolbox-ashmem: Script to build ashmem on fedora Silverblue and toolbx

It will allow you to build and load ashmem_linux using toolbox (works if executed inside or outside of toolbox)

Then I was able to get waydroid working via:

  • Layering lxc and waydroid rpm-ostree. (waydroid from copr)
  • ashmem from repo above.
  • selinux set to setenforce 0

It’s probably even possible to just get waydroid working from git but it fails because you need to build python-gbinder (which is included in waydroid copr) so there might be no need for layering waydroid at all.

While this does seem to work, I would not exactly recommend it. Mainly because LXC being layered and it can introduce instability to your system.

I have noticed that while I was testing it, Silverblue on my laptop would not shut down properly and just sit on black screen after which I had to force shutdown by pressing power button for 5 seconds. After removing layered LXC problem went away.

1 Like