From 89279d87c5d3e0ea330be1f927e3f3bc59dbc2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=81LI=20G=C3=A1bor=20J=C3=A1nos?= Date: Thu, 3 Aug 2023 10:10:44 +0200 Subject: Update to Linux 6.1 and Alpine 3.18 - Update base-layout to 3.4.3 - Update busybox to 1.36.1 - Update iptables to 1.8.9 - Update linux-lts to 6.1.53 - Update to openrc to 0.48 - Update rtl8821ce to snapshot of 20230915 - Replace rtwB88 with a third-party driver - Update rtw89 to snapshot of 20230913 - Import wpa_supplicant fixes from Arch Linux --- .../01-add-onlink-to-default-route.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 aports/ifupdown-ng/01-add-onlink-to-default-route.patch (limited to 'aports/ifupdown-ng/01-add-onlink-to-default-route.patch') diff --git a/aports/ifupdown-ng/01-add-onlink-to-default-route.patch b/aports/ifupdown-ng/01-add-onlink-to-default-route.patch new file mode 100644 index 0000000..e663cdf --- /dev/null +++ b/aports/ifupdown-ng/01-add-onlink-to-default-route.patch @@ -0,0 +1,30 @@ +From: Dermot Bradley +Date: Wed, 4 Jan 2023 00:23 +0000 +Subject: [PATCH] for static executor add "onlink" option to default route + +Add the "onlink" next-hop option to the default route. This is required +for situations like some VPS/Cloud Providers where they provide a /32 IPv4 +address or a /128 IPv6 address and obviously the router to use as the gateway +for the default route is not in the same subnet. + +The ifupdown package has been adding the "onlink" option for the past 7 +years when Debian added it: + +https://salsa.debian.org/debian/ifupdown/-/commit/8b7bca9597d2f75670b182f0fc149cdbaec3544c + +This patch has been submitted upstream to ifupdown-ng as PR #207. + +--- + +diff -aur a/executor-scripts/linux/static b/executor-scripts/linux/static +--- a/executor-scripts/linux/static ++++ b/executor-scripts/linux/static +@@ -33,7 +33,7 @@ + configure_gateways() { + for gw in ${IF_GATEWAYS}; do + addrfam=$(addr_family ${gw}) +- ${MOCK} ip "${addrfam}" route add default via "${gw}" ${VRF_TABLE} ${METRIC} dev "${IFACE}" ++ ${MOCK} ip "${addrfam}" route add default via "${gw}" ${VRF_TABLE} ${METRIC} dev "${IFACE}" onlink + done + } + -- cgit v1.2.3