From e5cdeb5f55f0732a8b36b9577a2378e93e51975c Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Apr 17 2022 17:14:15 +0000 Subject: Update to 1.2.1 --- diff --git a/memfd.patch b/memfd.patch deleted file mode 100644 index bb89a06..0000000 --- a/memfd.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 9bee074239199570d70630281ff0053253675044 Mon Sep 17 00:00:00 2001 -From: Alessandro Astone -Date: Tue, 8 Feb 2022 21:53:31 +0100 -Subject: [PATCH] Set sys.use_memfd=true if ashmem is not present - ---- - tools/helpers/lxc.py | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/tools/helpers/lxc.py b/tools/helpers/lxc.py -index 2a9c841..958c6d9 100644 ---- a/tools/helpers/lxc.py -+++ b/tools/helpers/lxc.py -@@ -166,6 +166,10 @@ def find_hal(hardware): - return "" - - props = [] -+ -+ if not os.path.exists("/dev/ashmem"): -+ props.append("sys.use_memfd=true") -+ - egl = tools.helpers.props.host_get(args, "ro.hardware.egl") - - gralloc = find_hal("gralloc") diff --git a/waydroid.spec b/waydroid.spec index 5e01f60..b7e1a70 100644 --- a/waydroid.spec +++ b/waydroid.spec @@ -1,12 +1,13 @@ %global forgeurl https://github.com/waydroid/waydroid -%global tag 1.2.0 +%global tag 1.2.1 %global debug_package %{nil} %global selinuxtype targeted +Version: %{tag} + %forgemeta Name: waydroid -Version: %{tag} -Release: 9%{?dist} +Release: 1%{?dist} Summary: waydroid License: LGPLv2+ URL: %{forgeurl} @@ -16,14 +17,13 @@ Source2: waydroid-gbinder.conf Source3: waydroid-container.service Source4: dev-binderfs.mount Patch0: setup-firealld.patch -Patch1: memfd.patch BuildRequires: make BuildRequires: selinux-policy-devel BuildRequires: systemd BuildRequires: python3-devel -Requires: python-gbinder-python +Requires: python-gbinder Requires: libgbinder Requires: lxc Requires: libglibutil @@ -97,6 +97,9 @@ fi %{_datadir}/selinux/targeted/%{name}.pp %changelog +* Sun Apr 17 2022 Alessandro Astone - 1.2.1-1 +- Update to 1.2.1 + * Mon Mar 07 2022 Alessandro Astone - 1.2.0-7.20220307git1.2.0 - Recommend pyclip