Patchwork [meta-fsl-arm,v2] imx-test: add missing runtime dependency

login
register
mail settings
Submitter Rogerio Nunes
Date Feb. 5, 2014, 1:47 p.m.
Message ID <1391608043-2943-1-git-send-email-ronunes@gmail.com>
Download mbox | patch
Permalink /patch/66337/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Rogerio Nunes - Feb. 5, 2014, 1:47 p.m.
From: Rogerio Nunes <rogerio.nunes@freescale.com>

The test scripts explicitly use bash instead of sh,
so it's necessary to have bash as a runtime dependency
in the imx-test recipe, otherwise, bitbake will fail
when populating a rootfs that does not include bash.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
---
 recipes-bsp/imx-test/imx-test.inc | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index a98313c..eb3d02e 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -52,4 +52,6 @@  do_install() {
 }
 
 FILES_${PN} += "/unit_tests"
+RDEPENDS_${PN} = "bash"
+
 FILES_${PN}-dbg += "/unit_tests/.debug"