[oe-commits] Khem Raj : ebtables, arptables: add perl as runtime dependency

git at git.openembedded.org git at git.openembedded.org
Sun Jan 27 22:59:22 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: ed0557d136d059cfa10b883b276f839ed4ad42d3
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=ed0557d136d059cfa10b883b276f839ed4ad42d3

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Jan 26 06:45:15 2013 +0000

ebtables, arptables: add perl as runtime dependency

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>
Signed-off-by: Martin Jansa <Martin.Jansa 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(+), 0 deletions(-)

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..bca34c0 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_${PN} += "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..2faccec 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_${PN} += "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 \





More information about the Openembedded-commits mailing list