realtek: Use firewall4
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 28 Feb 2022 20:57:55 +0000 (21:57 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 29 Mar 2022 12:28:19 +0000 (14:28 +0200)
commit27fbae4c5af612b1a1790c35a30b154b8e888057
treede5c9aeb81b1ff8320c3b8ab0764d86171033d51
parent916f21c63e974b2543b19345c8ff7102106e858c
realtek: Use firewall4

The realtek target is not a router, but basic device, see DEVICE_TYPE.
The basic device type does not come with firewall by default, see
include/target.mk for details. The realtek target extended
DEFAULT_PACKAGES manually with firewall.

This changes the defaults to take firewall4 and nftables instead of
firewall and iptables. This also adds the additional package
kmod-nft-offload.

The only difference to the router type is the missing ppp,
ppp-mod-pppoe, dnsmasq and odhcpd-ipv6only package.

This increases the compressed image size by about 422KBytes.

Tested-by: Stijn Segers <foss@volatilesystems.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 469030659c5cb140bdbff1b3d8fc9691f98f984b)
target/linux/realtek/Makefile