]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemtap: add python and bash dependencies
authorTom Zanussi <tom.zanussi@linux.intel.com>
Fri, 1 Mar 2013 17:34:57 +0000 (11:34 -0600)
committerRoss Burton <ross.burton@intel.com>
Tue, 23 Apr 2013 09:22:12 +0000 (10:22 +0100)
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@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/systemtap/systemtap_git.bb

index 3f94e981aeaa8e3b127e6845ce39c39fb04ddb6c..90f7053632f173ca0ef1a4a86ef0e7baf7ff32fb 100644 (file)
@@ -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 "