Patchwork [meta-networking] ebtables: Load ebtables kernel module

login
register
mail settings
Submitter Mihai Prica
Date July 26, 2013, 2:20 p.m.
Message ID <1374848456-19550-1-git-send-email-mihai.prica@intel.com>
Download mbox | patch
Permalink /patch/54599/
State Accepted
Commit fe155a77f3e64abcb2c23064fc93d0815e7d99a0
Headers show

Comments

Mihai Prica - July 26, 2013, 2:20 p.m.
Ebtables needs some kernel configs options to work properly. The standard yocto
kernel config includes these as modules. Add code to load the ebtables module.

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
---
 .../recipes-filter/ebtables/ebtables_2.0.10-4.bb   |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Joe MacDonald - July 30, 2013, 6:06 p.m.
Merged, thanks.
-J.

[[oe] [meta-networking][PATCH] ebtables: Load ebtables kernel module] On 13.07.26 (Fri 17:20) Mihai Prica wrote:

> Ebtables needs some kernel configs options to work properly. The standard yocto
> kernel config includes these as modules. Add code to load the ebtables module.
> 
> Signed-off-by: Mihai Prica <mihai.prica@intel.com>
> ---
>  .../recipes-filter/ebtables/ebtables_2.0.10-4.bb   |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> index 78e069a..6ac886e 100644
> --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
> @@ -2,10 +2,13 @@ SUMMARY = "Utility for basic Ethernet frame filtering on a Linux bridge, MAC NAT
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
>  SECTION = "console/network"
> -PR = "r2"
> +PR = "r3"
>  
>  RDEPENDS_${PN} += "perl"
>  
> +RRECOMMENDS_${PN} += "kernel-module-ebtables \
> +    "
> +
>  SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
>             file://installnonroot.patch \
>             file://01debian_defaultconfig.patch \

Patch

diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
index 78e069a..6ac886e 100644
--- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
+++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
@@ -2,10 +2,13 @@  SUMMARY = "Utility for basic Ethernet frame filtering on a Linux bridge, MAC NAT
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
 SECTION = "console/network"
-PR = "r2"
+PR = "r3"
 
 RDEPENDS_${PN} += "perl"
 
+RRECOMMENDS_${PN} += "kernel-module-ebtables \
+    "
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
            file://installnonroot.patch \
            file://01debian_defaultconfig.patch \