From e42ff4ebd498cda159de880edadd9d95b5e6cc66 Mon Sep 17 00:00:00 2001 From: Alexander Brzoska Date: Sat, 26 Dec 2020 18:02:42 +0100 Subject: [PATCH] main/linux-postmarketos-allwinner: Add IPv4 support for wireguard-tools (MR 1838) Wireguard's userspace tool 'wg-quick' requires certain network and netfilter options in the kernel config to be enabled, since it uses policy routing and some 'iptables' modules. An overview of the options and why they are required can be found in pmaports#909. NOTE: after rebasing this patch on the one that enables anbox related kconfig options, only CONFIG_IP_MULTIPLE_TABLES=y was left. --- main/linux-postmarketos-allwinner/APKBUILD | 4 ++-- .../config-postmarketos-allwinner.aarch64 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/linux-postmarketos-allwinner/APKBUILD b/main/linux-postmarketos-allwinner/APKBUILD index 4f9bc094b..d7e394c50 100644 --- a/main/linux-postmarketos-allwinner/APKBUILD +++ b/main/linux-postmarketos-allwinner/APKBUILD @@ -6,7 +6,7 @@ _flavor=postmarketos-allwinner _config="config-$_flavor.$CARCH" pkgname=linux-$_flavor pkgver=5.10.0_git20201214 -pkgrel=1 +pkgrel=2 _tag="orange-pi-5.10-20201214-0813" pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)" arch="aarch64" @@ -76,7 +76,7 @@ dev() { } sha512sums="5eb331942079e003dfc1e135641519821dbd2a88245ca192065b5f3e9909af20474bd78d12be1805125662b1162cc59d92e0dd1b783c4a7be4edbc576c885b9d linux-postmarketos-allwinner-orange-pi-5.10-20201214-0813.tar.gz -3275f1e5831bd0d5e5987c7efe54c7b2c7441f2819cdc16db5604468fa35e2583f4f998f5d98bfe2a0d5ef0de9208f1f6d5dbb714f7a73b90ba26ad6464f5203 config-postmarketos-allwinner.aarch64 +329ce6d121b3ceeec0c6f862a64c57f27f791b2eabcdedf776cb180601e5f1dac79a8b1285629d03af25d44d60e3dd8a7bc9305654d77834dcce9e1f10e810d2 config-postmarketos-allwinner.aarch64 6b96dcdca84f0581d1f6354dfb752ef382b2a70793e881233e71c2af0c58d0eed965be7a494308a639e2e9035e46535f659e0c1721c0e3b8444a2ac981d7dc99 0001-dts-add-dontbeevil-pinephone-devkit.patch 5cd62667ebe1d5213d5d89423fe2a810c55fa84a238790af5f087b31cee3a3db66bcaba14001c345731bc1212060f74c0629433403be2485a5bbd4f0dd1c4f65 0002-dts-add-pinetab-dev-old-display-panel.patch d92db05628de20c57f69edd0558fc56eb5a1c90f6dd3046813dc2b8c7393030f55e4980ae4135f9a03dadfe9ea0d51755d997c0ba8933af7091277a5fa3a611b 0003-media-gc2145-Added-BGGR-bayer-mode.patch diff --git a/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 b/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 index 62c7cc309..704ed7b99 100644 --- a/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 +++ b/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 @@ -881,7 +881,7 @@ CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y # CONFIG_IP_FIB_TRIE_STATS is not set -# CONFIG_IP_MULTIPLE_TABLES is not set +CONFIG_IP_MULTIPLE_TABLES=y # CONFIG_IP_ROUTE_MULTIPATH is not set # CONFIG_IP_ROUTE_VERBOSE is not set CONFIG_IP_PNP=y