From patchwork Fri Mar 1 17:34:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/3] systemtap: add python and bash dependencies Date: Fri, 01 Mar 2013 17:34:57 -0000 From: tom.zanussi@linux.intel.com X-Patchwork-Id: 45377 Message-Id: <7f6bfc610d60aabc3e69d8bb3b799ff3a7175c6e.1362158882.git.tom.zanussi@linux.intel.com> To: openembedded-core@lists.openembedded.org Cc: Tom Zanussi From: Tom Zanussi 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 --- meta/recipes-kernel/systemtap/systemtap_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 7fc92c8..22f8959 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb @@ -6,6 +6,10 @@ DEPENDS = "elfutils sqlite3 systemtap-native" DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native" DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext" +RDEPENDS_${PN} += "python bash" +RDEPENDS_${PN}_class-native += "python-native" +RDEPENDS_${PN}_class-nativesdk += "python-native" + PR = "r1" EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \