[yocto] [auh][PATCH 1/4] Add ability to set machines in config file

Paul Eggleton paul.eggleton at linux.intel.com
Fri Aug 15 02:48:41 PDT 2014


Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 README           | 2 ++
 upgradehelper.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 74a8ecc..c43fa5e 100644
--- a/README
+++ b/README
@@ -41,6 +41,8 @@ clean_sstate=yes
 clean_tmp=yes
 # keep previous commits or not
 drop_previous_commits=yes
+# machines to test build with
+machines=qemux86 qemux86-64 qemuarm qemumips qemuppc
 --------------- snip ---------------
 
 3. Enable distrodata and supply appropriate additional metadata. For
diff --git a/upgradehelper.py b/upgradehelper.py
index cc90958..2429897 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -130,7 +130,7 @@ class Updater(object):
         self.skip_compilation = skip_compilation
         self.interactive = not auto_mode
 
-        self.machines = ["qemux86", "qemux86-64", "qemuarm", "qemumips", "qemuppc"]
+        self.machines = settings.get('machines', 'qemux86 qemux86-64 qemuarm qemumips qemuppc').split()
 
         self.upgrade_steps = [
             (self._create_workdir, None),
-- 
1.9.3




More information about the yocto mailing list