]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/sstate: Update output hash
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 21 Jan 2019 22:39:19 +0000 (16:39 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Jan 2019 14:35:58 +0000 (14:35 +0000)
commit1d86f65ff54164f23d96d76dec4b1f468f4bab06
tree7b4cf11cc005b6cdc45e56cdb0d664a5375da20e
parent6fd870e6a1f61d17e43cf30db4259a939db93820
classes/sstate: Update output hash

Updates the output hash calculation for determining if tasks are
equivalent. The new algorithm does the following based on feedback:
 1) The output hash function was moved to the OE library.
 2) All files are printed in a single line tabular format
 3) Prints the file type and mode in a user-friendly ls-like format
 4) Includes the file owner and group (by name, not ID). These are only
    included if the task is run under pseudo since that is the only time
    they can be consistently determined.
 5) File size is included for regular files

(From OE-Core rev: 4bd297dfe92851f3b44f6b5560bac9d8f9ccf9f2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/lib/oe/sstatesig.py