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

login
register
mail settings
Submitter Rogerio Nunes
Date Feb. 5, 2014, 1:56 a.m.
Message ID <1391565400-21674-1-git-send-email-ronunes@gmail.com>
Download mbox | patch
Permalink /patch/66329/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Rogerio Nunes - Feb. 5, 2014, 1:56 a.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(+)
Otavio Salvador - Feb. 5, 2014, 11:43 a.m.
Hello Rogerio,

On Tue, Feb 4, 2014 at 11:56 PM,  <ronunes@gmail.com> wrote:
> 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>
...
> +RDEPENDS_${PN} = "bash"
> +
...

This should go below FILES_${PN}

So you will get:

FILES_${PN} =....
RDEPENDS_${PN} =...

FILES_${PN}-dbg...

Patch

diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index a98313c..f56325e 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -8,6 +8,8 @@  DEPENDS_mx6s  = "virtual/kernel imx-lib imx-vpu"
 DEPENDS_mx6sl = "virtual/kernel imx-lib"
 DEPENDS_mxs   = "virtual/kernel"
 
+RDEPENDS_${PN} = "bash"
+
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"