summaryrefslogtreecommitdiffstats
path: root/meta/classes/qemuboot.bbclass
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-08-28 13:28:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 17:41:42 +0100
commit0f416a65ed26f8524ecd15b40dabfa3e1294789b (patch)
tree8294877d64a11ac8ae038b5afe3b69a48a850510 /meta/classes/qemuboot.bbclass
parent2f12988794c2fdcd5bbd500c313c8151f9791070 (diff)
downloadpoky-0f416a65ed26f8524ecd15b40dabfa3e1294789b.tar.gz
qemuboot.bbclass: create deterministic qemuboot.conf file
The lines in qemuboot.conf are in random order. This patch fixes this by printing the lines in sorted order. This makes it easier to compare two different builds for any differences. (From OE-Core rev: 0868edace0750862168abc8d504891646afc8c76) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/qemuboot.bbclass')
-rw-r--r--meta/classes/qemuboot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass
index 0e21fc9bde..bd2f01db23 100644
--- a/meta/classes/qemuboot.bbclass
+++ b/meta/classes/qemuboot.bbclass
@@ -87,7 +87,7 @@ python do_write_qemuboot_conf() {
87 topdir="%s/"%(d.getVar('TOPDIR')).replace("//","/") 87 topdir="%s/"%(d.getVar('TOPDIR')).replace("//","/")
88 cf = configparser.ConfigParser() 88 cf = configparser.ConfigParser()
89 cf.add_section('config_bsp') 89 cf.add_section('config_bsp')
90 for k in qemuboot_vars(d): 90 for k in sorted(qemuboot_vars(d)):
91 # qemu-helper-native sysroot is not removed by rm_work and 91 # qemu-helper-native sysroot is not removed by rm_work and
92 # contains all tools required by runqemu 92 # contains all tools required by runqemu
93 if k == 'STAGING_BINDIR_NATIVE': 93 if k == 'STAGING_BINDIR_NATIVE':