Files
poky/meta/recipes-extended
Rasmus Villemoes bd0c87a3ac iptables: remove /etc/ethertypes
When building an image including iptable built with the libnftnl
PACKAGECONFIG, one hits

Downloading file:.../oe-rootfs-repo/armv8a/libkmod2 * check_data_file_clashes: Package iptables wants to install file .../rootfs/etc/ethertypes
        But that file is already provided by package  * netbase

This used to be handled by
0003-Makefile.am-do-not-install-etc-ethertypes.patch, but that patch
got removed with the 1.8.9->1.8.10 upgrade (commit 4616ada82e70).

I think the rationale for dropping the patch was wrong; the commit log
talks about xtables.conf, which is indeed gone from upstream, but said
patch didn't change anything about xtables.conf, it did

-dist_conf_DATA        = etc/ethertypes etc/xtables.conf
+dist_conf_DATA        = etc/xtables.conf

However, instead of patching iptables to not install ethertypes, and
having to forward-port that patch, it is much simpler to just remove
the file in this do_install:append.

(From OE-Core rev: a970b6c927fb4c04473484f6e4b0a9853c8a5896)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-11-03 07:17:02 -08:00
..
2024-12-06 05:50:24 -08:00
2023-01-12 23:08:59 +00:00
2023-03-12 23:39:13 +00:00
2025-09-01 08:30:56 -07:00
2024-06-19 08:34:57 -07:00
2023-06-27 16:23:40 +01:00
2024-07-17 05:36:13 -07:00
2024-02-03 22:08:25 +00:00
2023-07-30 07:54:44 +01:00
2025-08-20 07:37:19 -07:00
2023-05-22 10:53:48 +01:00
2022-10-29 16:28:35 +01:00
2025-11-03 07:17:02 -08:00
2025-07-21 09:07:21 -07:00
2024-07-23 06:05:47 -07:00
2022-04-19 14:14:12 +01:00
2024-02-03 22:08:26 +00:00
2023-11-05 11:28:40 +00:00
2023-07-17 15:30:04 +01:00
2023-07-30 07:54:44 +01:00
2024-02-03 22:08:26 +00:00
2024-03-07 17:25:02 +00:00
2024-02-08 10:59:06 +00:00
2023-12-08 16:58:34 +00:00
2025-07-11 08:11:53 -07:00
2023-11-05 11:28:40 +00:00
2025-06-20 08:38:12 -07:00
2023-11-05 11:28:39 +00:00
2025-08-22 05:59:55 -07:00
2021-08-02 15:44:10 +01:00
2023-09-02 18:23:06 +01:00
2022-11-22 12:26:46 +00:00
2025-06-11 08:17:34 -07:00
2022-11-14 16:19:43 +00:00
2022-08-21 22:51:42 +01:00
2025-09-01 08:30:57 -07:00
2023-09-02 18:23:06 +01:00
2023-12-23 08:46:00 +00:00
2023-09-28 12:37:46 +01:00
2023-04-13 11:56:07 +01:00
2022-08-17 19:57:32 +01:00
2025-09-01 08:30:56 -07:00
2025-01-24 07:59:38 -08:00
2023-04-05 08:39:43 +01:00
2025-08-22 05:59:54 -07:00
2024-09-19 05:11:35 -07:00
2023-12-08 16:58:34 +00:00