aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-13 17:03:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-21 17:48:19 +0000
commit2e9981000a211a89f88d7728393cc231e466581a (patch)
treec40a1391b86e3dc964c5edebe5568906d3513a37 /meta
parent830df6067c1ea4a5aab580b42ba7e1e84fe1bcbf (diff)
downloadopenembedded-core-contrib-2e9981000a211a89f88d7728393cc231e466581a.tar.gz
classes/buildhistory: sort FILELIST in package info
The FILELIST order can vary depending on the order the files were written which may change between builds with no ill effect, so sort the list prior to writing it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/buildhistory.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 0ee6a3391c..3fbe3a8576 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -186,6 +186,7 @@ python buildhistory_emit_pkghistory() {
fstat = os.lstat(os.path.join(root, f))
pkginfo.size += fstat.st_size
filelist.append(os.sep + os.path.join(relpth, f))
+ filelist.sort()
pkginfo.filelist = " ".join(filelist)
write_pkghistory(pkginfo, d)