[oe] [meta-networking][PATCH 2/2] ebtables, arptables: add perl as runtime dependency

Khem Raj raj.khem at gmail.com
Sat Jan 26 06:45:15 UTC 2013


Fixes errors like

| Computing transaction...error: Can't install
arptables-0.0.3+4-r0.0 at ppce500v2: no package provides /usr/bin/perl

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../recipes-filter/ebtables/ebtables_2.0.10-4.bb   |    2 ++
 .../recipes-support/arptables/arptables_0.0.3-4.bb |    2 ++
 2 files changed, 4 insertions(+)

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 2596d2f..4e9b0bc 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
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
 SECTION = "console/network"
 PR = "r1"
 
+RDEPENDS += "perl"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
            file://installnonroot.patch \
            file://01debian_defaultconfig.patch \
diff --git a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
index 71e2600..8da9bb7 100644
--- a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
+++ b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
@@ -3,6 +3,8 @@ PRIORITY = "optional"
 LICENSE = "GPL-2.0"
 SECTION = "console/network"
 
+RDEPENDS += "perl"
+
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 SRC_URI = " \
 	${SOURCEFORGE_MIRROR}/ebtables/arptables-v${PV}.tar.gz;name=arptables \
-- 
1.7.9.5





More information about the Openembedded-devel mailing list