[oe-commits] Tom Zanussi : systemtap: add python and bash dependencies
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 23 12:00:29 UTC 2013
Module: openembedded-core.git
Branch: danny
Commit: c16882f69aa7ec2e74ba411925a184e5a6105b1d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c16882f69aa7ec2e74ba411925a184e5a6105b1d
Author: Tom Zanussi <tom.zanussi at linux.intel.com>
Date: Fri Mar 1 11:34:57 2013 -0600
systemtap: add python and bash dependencies
There are a number of scripts in the systemtap installation that use
python and bash, so we need to add run-time dependencies for them. If
not, we can generate build errors like "no package provides
/usr/bin/python".
Fixes [YOCTO #3951].
Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-kernel/systemtap/systemtap_git.bb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 3f94e98..90f7053 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -6,12 +6,16 @@ DEPENDS = "elfutils sqlite3 systemtap-native"
DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
-PR = "r0"
+PR = "r1"
export CC_FOR_BUILD = "${BUILD_CC}"
export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
+RDEPENDS_${PN} += "python bash"
+RDEPENDS_${PN}_class-native += "python-native"
+RDEPENDS_${PN}_class-nativesdk += "python-native"
+
EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
--without-nss --without-avahi \
--disable-server --disable-grapher "
More information about the Openembedded-commits
mailing list