]> code.ossystems Code Review - openembedded-core.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>
Mon, 21 Jan 2019 23:45:47 +0000 (23:45 +0000)
commit4bd297dfe92851f3b44f6b5560bac9d8f9ccf9f2
treeb58ab6e6c038151f52044ccffdebb8140d2ece46
parent10aae50df0febb83fe1570405ac2b8b265365052
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

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