[yocto] [PATCH 2/4] Added support for the custom_images property of the force build GUI

Javier B. Perez javier.b.perez.hernandez at linux.intel.com
Fri Jan 9 09:07:08 PST 2015


From: Javier B Perez Hernandez <javier.b.perez.hernandez at linux.intel.com>

BuildImages.py: Changed 'start' to support the custom_images property
of the force build GUI and set 'images' variable.

Signed-off-by: Javier B Perez Hernandez <javier.b.perez.hernandez at linux.intel.com>
---
 lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py b/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py
index 4e8a650..9b9fae9 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py
@@ -36,6 +36,8 @@ class BuildImages(ShellCommand):
         self.layerversion_yoctobsp = self.getProperty("layerversion_yoctobsp")
         self.layerversion_core = self.getProperty("layerversion_core")
         self.machine = self.getProperty("MACHINE")
+        if self.getProperty("custom_images") is not None:
+            self.images = " ".join(self.getProperty("custom_images"))
         # core-image-basic rename
         # See: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b7f1cca517bbd4191828c6bae32e0c5041f1ff19
         # I hate making people change their configs, so support both.
-- 
1.9.3




More information about the yocto mailing list