All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] bitbake.conf: fix HOSTTOOLS setting related to image testing
@ 2017-10-31  6:38 Chen Qi
  2017-10-31  6:38 ` [PATCH 1/1] " Chen Qi
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2017-10-31  6:38 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 514a808f21c37b6ad704ce397bb2740ecc9a93bc:

  ref-manual: Updates to "Image Generation" section. (2017-10-30 15:55:08 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/hosttools_setting
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/hosttools_setting

Chen Qi (1):
  bitbake.conf: fix HOSTTOOLS setting related to image testing

 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] bitbake.conf: fix HOSTTOOLS setting related to image testing
  2017-10-31  6:38 [PATCH 0/1] bitbake.conf: fix HOSTTOOLS setting related to image testing Chen Qi
@ 2017-10-31  6:38 ` Chen Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2017-10-31  6:38 UTC (permalink / raw)
  To: openembedded-core

A list of tools are added to HOSTTOOLS depending on if we inherit
testimage or not. Unfortunately, if we use TEST_IMAGE variable to
automate the test, these tools are not added to HOSTTOOLS.

Modify the condition to also check TEST_IMAGE to fix the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 9696273..2f87101 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -484,7 +484,7 @@ HOSTTOOLS += " \
 "
 
 # Tools needed to run testimage runtime image testing
-HOSTTOOLS += "${@['', 'ip ping ps scp ssh stty'][bb.data.inherits_class('testimage', d)]}"
+HOSTTOOLS += "${@['', 'ip ping ps scp ssh stty'][bb.data.inherits_class('testimage', d) or d.getVar('TEST_IMAGE') == '1']}"
 
 # Link to these if present
 HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat ssh sudo"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-31  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-31  6:38 [PATCH 0/1] bitbake.conf: fix HOSTTOOLS setting related to image testing Chen Qi
2017-10-31  6:38 ` [PATCH 1/1] " Chen Qi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.