]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/buildhistory: sort FILELIST in package info
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 13 Feb 2012 17:03:39 +0000 (17:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Feb 2012 17:48:19 +0000 (17:48 +0000)
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>
meta/classes/buildhistory.bbclass

index 0ee6a3391c9ee88954cf2c3637bfeba93a4acce5..3fbe3a8576daba9a2b1ef5aaf6083ccc9144d2ca 100644 (file)
@@ -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)