]> code.ossystems Code Review - openembedded-core.git/commit
staging: Add extra hash handling code
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 Jan 2022 15:44:56 +0000 (15:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 5 Feb 2022 12:25:55 +0000 (12:25 +0000)
commit1cf62882bbac543960e4815d117ffce0e53bda07
tree78ed0796c072a9773650a081a77cc0151d60911d
parenta6a814fd1f62cc8050a438efb878a01aa3df7ae5
staging: Add extra hash handling code

Target build output, stored in do_populate_sysroot or do_package can depend
not only upon direct dependencies but also indirect ones. A good example is
linux-libc-headers. The toolchain depends on this but most target recipes do
not. There are some headers which are not used by the toolchain build and do
not change the toolchain task output, hence the task hashes can change without
changing the sysroot output of that recipe yet they can influence others.

A specific example is rtc.h which can change rtcwake.c in util-linux but is not
used in the glibc or gcc build. To account for this, we need to account for the
populate_sysroot hashes in the task output hashes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/classes/staging.bbclass