waydroid: update to 1.4.1.
D-Bus is now used for IPC but disable D-Bus activation for Waydroid container because there's no way to supervise (or stop) it properly under runit.
This commit is contained in:
parent
95d25268af
commit
6396d899d2
|
@ -1,8 +1,8 @@
|
|||
case "$ACTION" in
|
||||
post)
|
||||
if [ ! -f ./var/lib/waydroid/waydroid.cfg ]; then return 0; fi
|
||||
if [ ! -f ./var/lib/waydroid/waydroid_base.prop ]; then return 0; fi
|
||||
echo "Regenerating Waydroid configs..."
|
||||
waydroid upgrade --offline || exit 0
|
||||
if [ -f /var/lib/waydroid/waydroid_base.prop ]; then
|
||||
echo "Regenerating Waydroid configs..."
|
||||
waydroid upgrade --offline || :
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -4,8 +4,9 @@ To finish Waydroid installation run:
|
|||
# waydroid init
|
||||
|
||||
Additionally ensure /proc/pressure/cpu exists, otherwise add 'psi=1' to your
|
||||
kernel cmdline; without this /system/bin/lmkd will keep crashing and the LXC
|
||||
container won't finish booting.
|
||||
kernel cmdline; without this under memory pressure e.g. even the OS bootup or
|
||||
gaming *may* cause the /dev/binder session manager to die due to
|
||||
/system/bin/lmkd crashing.
|
||||
For more details on kernel command line arguments and their configuration see
|
||||
https://docs.voidlinux.org/config/kernel.html#cmdline
|
||||
|
||||
|
@ -15,7 +16,7 @@ also works).
|
|||
Optionally clipboard syncing between the container and host Wayland compositor
|
||||
can be enabled with:
|
||||
|
||||
# xbps-install python3-pyclip wl-clipboard
|
||||
# xbps-install -S python3-pyclip wl-clipboard
|
||||
|
||||
When running under X11 in a nested Wayland compositor you'll also need xclip.
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec waydroid -w container start
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
# Template file for 'waydroid'
|
||||
pkgname=waydroid
|
||||
version=1.3.4
|
||||
revision=2
|
||||
version=1.4.1
|
||||
revision=1
|
||||
# https://developer.android.com/ndk/guides/abis#sa
|
||||
archs="aarch64* armv7* i686* x86_64*"
|
||||
build_style=gnu-makefile
|
||||
make_install_args="USE_NFTABLES=1"
|
||||
depends="python3 gbinder-python python3-gobject gtk+3 lxc dnsmasq nftables"
|
||||
make_install_args="USE_NFTABLES=1 USE_DBUS_ACTIVATION=0"
|
||||
depends="gbinder-python python3-gobject python3-dbus gtk+3 polkit dnsmasq
|
||||
nftables lxc"
|
||||
short_desc="Container-based approach to boot a full Android system"
|
||||
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://waydro.id"
|
||||
changelog="https://raw.githubusercontent.com/waydroid/waydroid/main/debian/changelog"
|
||||
distfiles="https://github.com/waydroid/waydroid/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=32e30e6c7384a514649daeac68b1326e2781362692ae143927628ff2f1387c4e
|
||||
checksum=6c9a87bf61efb72c19d96f442b710bd8b4dd5b5be093e10e2d0b1d1782376207
|
||||
|
||||
python_version=3
|
||||
pycompile_dirs="usr/lib/waydroid"
|
||||
|
|
Loading…
Reference in New Issue