mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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
4 changed files with 15 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
post)
|
post)
|
||||||
if [ ! -f ./var/lib/waydroid/waydroid.cfg ]; then return 0; fi
|
if [ -f /var/lib/waydroid/waydroid_base.prop ]; then
|
||||||
if [ ! -f ./var/lib/waydroid/waydroid_base.prop ]; then return 0; fi
|
echo "Regenerating Waydroid configs..."
|
||||||
echo "Regenerating Waydroid configs..."
|
waydroid upgrade --offline || :
|
||||||
waydroid upgrade --offline || exit 0
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -4,8 +4,9 @@ To finish Waydroid installation run:
|
||||||
# waydroid init
|
# waydroid init
|
||||||
|
|
||||||
Additionally ensure /proc/pressure/cpu exists, otherwise add 'psi=1' to your
|
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
|
kernel cmdline; without this under memory pressure e.g. even the OS bootup or
|
||||||
container won't finish booting.
|
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
|
For more details on kernel command line arguments and their configuration see
|
||||||
https://docs.voidlinux.org/config/kernel.html#cmdline
|
https://docs.voidlinux.org/config/kernel.html#cmdline
|
||||||
|
|
||||||
|
@ -15,7 +16,7 @@ also works).
|
||||||
Optionally clipboard syncing between the container and host Wayland compositor
|
Optionally clipboard syncing between the container and host Wayland compositor
|
||||||
can be enabled with:
|
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.
|
When running under X11 in a nested Wayland compositor you'll also need xclip.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
|
sv check dbus >/dev/null || exit 1
|
||||||
exec waydroid -w container start
|
exec waydroid -w container start
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
# Template file for 'waydroid'
|
# Template file for 'waydroid'
|
||||||
pkgname=waydroid
|
pkgname=waydroid
|
||||||
version=1.3.4
|
version=1.4.1
|
||||||
revision=2
|
revision=1
|
||||||
# https://developer.android.com/ndk/guides/abis#sa
|
# https://developer.android.com/ndk/guides/abis#sa
|
||||||
archs="aarch64* armv7* i686* x86_64*"
|
archs="aarch64* armv7* i686* x86_64*"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="USE_NFTABLES=1"
|
make_install_args="USE_NFTABLES=1 USE_DBUS_ACTIVATION=0"
|
||||||
depends="python3 gbinder-python python3-gobject gtk+3 lxc dnsmasq nftables"
|
depends="gbinder-python python3-gobject python3-dbus gtk+3 polkit dnsmasq
|
||||||
|
nftables lxc"
|
||||||
short_desc="Container-based approach to boot a full Android system"
|
short_desc="Container-based approach to boot a full Android system"
|
||||||
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
|
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://waydro.id"
|
homepage="https://waydro.id"
|
||||||
changelog="https://raw.githubusercontent.com/waydroid/waydroid/main/debian/changelog"
|
changelog="https://raw.githubusercontent.com/waydroid/waydroid/main/debian/changelog"
|
||||||
distfiles="https://github.com/waydroid/waydroid/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/waydroid/waydroid/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=32e30e6c7384a514649daeac68b1326e2781362692ae143927628ff2f1387c4e
|
checksum=6c9a87bf61efb72c19d96f442b710bd8b4dd5b5be093e10e2d0b1d1782376207
|
||||||
|
|
||||||
python_version=3
|
python_version=3
|
||||||
pycompile_dirs="usr/lib/waydroid"
|
pycompile_dirs="usr/lib/waydroid"
|
||||||
|
|
Loading…
Add table
Reference in a new issue