From: Paul Eggleton Date: Mon, 13 Feb 2012 17:03:39 +0000 (+0000) Subject: classes/buildhistory: sort FILELIST in package info X-Git-Tag: 2015-4~11743 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2e9981000a211a89f88d7728393cc231e466581a;p=openembedded-core.git 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 --- 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)