Could you add an install file? Something like this, perhaps:
post_install() {
echo "Download and extract Waydroid system & vendor images:"
echo "sudo waydroid init"
echo ""
echo "Start the container service:"
echo "systemctl start waydroid-container"
}
pre_upgrade() {
waydroid session stop
systemctl stop waydroid-container
}
post_upgrade() {
systemctl daemon-reload
systemctl start waydroid-container
}
pre_remove() {
pre_upgrade
}
post_remove() {
echo "Optionally remove Waydroid data & images:"
echo "sudo rm -rf /var/lib/waydroid /home/.waydroid ~/waydroid"
}
Pinned Comments
Danct12 commented on 2021-09-21 06:23 (UTC) (edited on 2021-10-08 16:06 (UTC) by Danct12)
Before install Waydroid, make sure that your kernel supports binder and ashmem module (currently only linux-zen does)
Keep in mind that Waydroid only works with Wayland compositors. It also does not work yet with proprietary NVIDIA driver.
After install
waydroid
andwaydroid-image
, run this command to initialize the container:Then the container can be started via
waydroid-container.service
. The official project group/channel can be found on: