Patchwork [2/3] perf: add bash dependency

login
register
mail settings
Submitter tom.zanussi@linux.intel.com
Date March 1, 2013, 5:34 p.m.
Message ID <4c6c5705aada50765653435bf008a6bc4a1e981d.1362158882.git.tom.zanussi@linux.intel.com>
Download mbox | patch
Permalink /patch/45379/
State Accepted
Commit 8169adeba67180f062fa7c0105fc4283da3103c6
Headers show

Comments

tom.zanussi@linux.intel.com - March 1, 2013, 5:34 p.m.
From: Tom Zanussi <tom.zanussi@linux.intel.com>

There are a number of scripts in the perf installation that use bash,
so we need to add a run-time dependency on bash for them. If not, we
can generate build errors like "no package provides /bin/bash".

Fixes [YOCTO #3951].

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 meta/recipes-kernel/perf/perf_3.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb
index e89a7c3..be0f386 100644
--- a/meta/recipes-kernel/perf/perf_3.4.bb
+++ b/meta/recipes-kernel/perf/perf_3.4.bb
@@ -28,7 +28,7 @@  DEPENDS = "virtual/kernel \
           "
 
 SCRIPTING_RDEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl perl-modules python', '',d)}"
-RDEPENDS_${PN} += "elfutils ${SCRIPTING_RDEPENDS}"
+RDEPENDS_${PN} += "elfutils bash ${SCRIPTING_RDEPENDS}"
 
 PROVIDES = "virtual/perf"