From 691c86ed2c380ca2ae76d63dd88a6258715831e3 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: May 20 2022 20:00:06 +0000 Subject: Default to nftables --- diff --git a/waydroid.spec b/waydroid.spec index ff436e0..abb6fcf 100644 --- a/waydroid.spec +++ b/waydroid.spec @@ -7,7 +7,7 @@ Version: %{tag} %forgemeta Name: waydroid -Release: 2%{?dist} +Release: 3%{?dist} Summary: waydroid License: LGPLv2+ URL: %{forgeurl} @@ -55,6 +55,9 @@ cp %{S:1} SELinux/ # Remove link for ROM files sed -i -e '/"system_channel":/ s/: ".*"/: ""/' tools/config/__init__.py sed -i -e '/"vendor_channel":/ s/: ".*"/: ""/' tools/config/__init__.py +# Default to nftables +sed -i 's/LXC_USE_NFT="false"/LXC_USE_NFT="true"/' data/scripts/waydroid-net.sh +# Compile sepolicy cd SELinux %{__make} NAME=%{selinuxtype} -f /usr/share/selinux/devel/Makefile