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 <[email protected]>
---
 .../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 \
-- 
1.7.9.5

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to