]> code.ossystems Code Review - openembedded-core.git/commit
base: Fix license checksum rebuild problems
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Jun 2015 21:13:23 +0000 (22:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2015 08:42:00 +0000 (09:42 +0100)
commitd88bb3759c36f2a30550529468c8a8c511b1661c
treeb5a7f693ba0dd07f05551103c4c3b2d7307fca3b
parentcdad3ea375590f6fa9330f481b6712681ad00cd2
base: Fix license checksum rebuild problems

"MACHINE=qemux86-64 bitbake init-ifupdown; MACHINE=genericx86-64 bitbake init-ifupdown"
shows a rebuild when it would be expected. The reason is a LIC_FILES_CHKSUM which
contains file://${WORKDIR}, an absolute path which doesn't exist in the first build
but does in the second, causing a signature change and a rebuild.

Fix the problem by ignoring any file:// url which resolves since TMPDIR for
license file dependency purposes.

(From OE-Core rev: f27ddf0de23871fc72cfc31f514f0e144aaa2082)

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