diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-02-13 17:03:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-21 17:59:37 +0000 |
commit | 04c290a492b212236979708345bed3639b763cd4 (patch) | |
tree | 33bf76605d6d8b375b99a21c371740e7f89b9974 | |
parent | 3cce3196fae496f59e5ee5999d16ccd1fa119e31 (diff) | |
download | poky-04c290a492b212236979708345bed3639b763cd4.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.
(From OE-Core rev: 2e9981000a211a89f88d7728393cc231e466581a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/buildhistory.bbclass | 1 |
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() { | |||
186 | fstat = os.lstat(os.path.join(root, f)) | 186 | fstat = os.lstat(os.path.join(root, f)) |
187 | pkginfo.size += fstat.st_size | 187 | pkginfo.size += fstat.st_size |
188 | filelist.append(os.sep + os.path.join(relpth, f)) | 188 | filelist.append(os.sep + os.path.join(relpth, f)) |
189 | filelist.sort() | ||
189 | pkginfo.filelist = " ".join(filelist) | 190 | pkginfo.filelist = " ".join(filelist) |
190 | 191 | ||
191 | write_pkghistory(pkginfo, d) | 192 | write_pkghistory(pkginfo, d) |