]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory-collect-srcrevs: sort directories
authorDan McGregor <danismostlikely@gmail.com>
Mon, 15 Jun 2020 22:01:43 +0000 (16:01 -0600)
committerSteve Sakoman <steve@sakoman.com>
Sun, 21 Jun 2020 03:09:07 +0000 (17:09 -1000)
commit9ca9c0fa320caeb2a1e7a60161c4db66dc0f2030
tree92dc1acd0ced7981fecd47bddfae5676d1e9cee4
parent5aaf9d3a748cbad17a4a3e5d9715ac2f289b007d
buildhistory-collect-srcrevs: sort directories

From: Daniel McGregor <daniel.mcgregor@vecima.com>

In order to allow consistent output of buildhistory-collect-srcrevs sort
the list of directories returned by os.walk. Otherwise the list of
SRCREVs is returned in an unspecified order.

We save the output of this command on build, so it creates smaller diffs
between builds.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d7cb207ad4ec3cd5a3064147d3c9b5a1730d0fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/buildhistory-collect-srcrevs