Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Changhyeok Bae <changhyeok.bae@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] iptables: Do not install /etc/ethertypes
Date: Mon, 3 Jun 2024 08:07:13 +0200	[thread overview]
Message-ID: <202406030607134a92d8a6@mail.local> (raw)
In-Reply-To: <20240528041053.11356-1-changhyeok.bae@gmail.com>

Hello,

This doesn't apply on master, can you rebase?

On 28/05/2024 04:10:53+0000, Changhyeok Bae wrote:
> The patch file was deleted by mistaken during 1.8.10 upgrade.
> Re-introduce the patch file after re-writing based on 1.8.10 code.
> 
> Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
> ---
>  ...ile.am-do-not-install-etc-ethertypes.patch | 44 +++++++++++++++++++
>  .../iptables/iptables_1.8.10.bb               |  1 +
>  2 files changed, 45 insertions(+)
>  create mode 100644 meta/recipes-extended/iptables/iptables/0003-Makefile.am-do-not-install-etc-ethertypes.patch
> 
> diff --git a/meta/recipes-extended/iptables/iptables/0003-Makefile.am-do-not-install-etc-ethertypes.patch b/meta/recipes-extended/iptables/iptables/0003-Makefile.am-do-not-install-etc-ethertypes.patch
> new file mode 100644
> index 0000000000..3aa40ac635
> --- /dev/null
> +++ b/meta/recipes-extended/iptables/iptables/0003-Makefile.am-do-not-install-etc-ethertypes.patch
> @@ -0,0 +1,44 @@
> +From 77024225a4d7a39e362296f0d1e5188a7c9340d4 Mon Sep 17 00:00:00 2001
> +From: Trevor Gamblin <trevor.gamblin@windriver.com>
> +Date: Tue, 28 May 2024 03:55:50 +0000
> +Subject: [PATCH] Makefile.am do not install etc ethertypes
> +
> +The /etc/ethertypes is provided by netbase since 6.0[1].
> +Do not instal the file in ebtables, otherwise there would be a conflict:
> +Error: Transaction test error:
> +  file /etc/ethertypes conflicts between attempted installs of
> +netbase-1:6.2-r0.corei7_64 and iptables-1.8.7-r0.corei7_64
> +
> +[1] https://salsa.debian.org/md/netbase/-/commit/316680c6a2c3641b6abc76b3eebf88781f609d35)
> +
> +This patch is based off of the same change made for the ebtables recipe:
> +
> +http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-filter/ebtables/ebtables-2.0.11/0001-Makefile.am-do-not-install-etc-ethertypes.patch?h=master
> +
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> +Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
> +---
> + Makefile.am | 5 -----
> + 1 file changed, 5 deletions(-)
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index 299ab46..7b60eb4 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -18,11 +18,6 @@ SUBDIRS         += iptables
> + 
> + EXTRA_DIST	= autogen.sh iptables-test.py xlate-test.py
> + 
> +-if ENABLE_NFTABLES
> +-confdir		= $(sysconfdir)
> +-dist_conf_DATA	= etc/ethertypes
> +-endif
> +-
> + .PHONY: tarball
> + tarball:
> + 	rm -Rf /tmp/${PACKAGE_TARNAME}-${PACKAGE_VERSION};
> +-- 
> +2.34.1
> +
> diff --git a/meta/recipes-extended/iptables/iptables_1.8.10.bb b/meta/recipes-extended/iptables/iptables_1.8.10.bb
> index 5a87897742..8cb9b76ca1 100644
> --- a/meta/recipes-extended/iptables/iptables_1.8.10.bb
> +++ b/meta/recipes-extended/iptables/iptables_1.8.10.bb
> @@ -14,6 +14,7 @@ SRC_URI = "http://netfilter.org/projects/iptables/files/iptables-${PV}.tar.xz \
>             file://ip6tables.service \
>             file://ip6tables.rules \
>             file://0001-configure-Add-option-to-enable-disable-libnfnetlink.patch \
> +           file://0003-Makefile.am-do-not-install-etc-ethertypes.patch \
>             file://0002-iptables-xshared.h-add-missing-sys.types.h-include.patch \
>             file://0004-configure.ac-only-check-conntrack-when-libnfnetlink-.patch \
>             "
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#199950): https://lists.openembedded.org/g/openembedded-core/message/199950
> Mute This Topic: https://lists.openembedded.org/mt/106343339/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2024-06-03  6:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28  4:10 [OE-core][PATCH] iptables: Do not install /etc/ethertypes Changhyeok Bae
2024-06-03  6:07 ` Alexandre Belloni [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-10 14:10 [OE-core][PATCH] iptables: do " Trevor Gamblin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202406030607134a92d8a6@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=changhyeok.bae@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox