diff options
author | 2020-12-31 17:03:31 +0800 | |
---|---|---|
committer | 2021-01-05 09:16:25 -0800 | |
commit | 752bb30c39c30411eee2364d045863a6c1569c62 (patch) | |
tree | 0c231d8fb1a948b3ecc710095e4e12e0ffb68639 /meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb | |
parent | 5816f414affba9557fd94475fdb4aeb5715ef72f (diff) | |
download | meta-openembedded-contrib-752bb30c39c30411eee2364d045863a6c1569c62.tar.gz |
ebtables: do not install /etc/ethertypes
Refer to Debian, patch the Makefile to prevent /etc/ethertypes
installation instead of removing it in do_install_append.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb')
-rw-r--r-- | meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb index be21c372d9..c13ed7b3bf 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.11.bb @@ -12,6 +12,7 @@ RRECOMMENDS_${PN} += "kernel-module-ebtables \ " SRC_URI = "http://ftp.netfilter.org/pub/ebtables/ebtables-${PV}.tar.gz \ + file://0001-Makefile.am-do-not-install-etc-ethertypes.patch \ file://ebtables-legacy-save \ file://ebtables.common \ file://ebtables.service \ @@ -25,9 +26,6 @@ SRC_URI[sha256sum] = "b71f654784a726329f88b412ef7b96b4e5d786ed2bd28193ed7b4c0d67 inherit systemd autotools do_install_append () { - #This file has been provided by netbase - rm -f ${D}${sysconfdir}/ethertypes - # Replace upstream ebtables-save perl script with Fedora bash based rewrite # http://pkgs.fedoraproject.org/cgit/rpms/ebtables.git/tree/ebtables-save rm -f ${D}${sbindir}/ebtables-legacy-save |