Skip to contentSkip to conversation

imx-test: add missing runtime dependency

PATCH Superseded [email protected] 2 participants 2 messages Feb 5, 2014 Arm i.MX and Layerscape

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx-test: add missing runtime dependency

From: Rogerio Nunes <[email protected]>

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.

---
 recipes-bsp/imx-test/imx-test.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/imx-test/imx-test.inc +2 -0
index a98313c..f56325e 100644
@@ -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"
 
Signature · 1 line
1.8.3.2
#1 lore raw

Hello Rogerio,

Quoted 8 lines · On Tue, Feb 4, 2014 at 11:56 PM, <[email protected]> wrote:

From: Rogerio Nunes <[email protected]>

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.

...

recipes-bsp/imx-test/imx-test.inc DEPENDS_mx6s = "virtual/kernel imx-lib imx-vpu" · line 12

Quoted 2 lines
recipes-bsp/imx-test/imx-test.inc +2 -0
+RDEPENDS_${PN} = "bash"
+

...

This should go below FILES_${PN}

So you will get:

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

FILES_${PN}-dbg...

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750