]> 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>
Mon, 1 Jun 2015 21:18:14 +0000 (22:18 +0100)
commitf27ddf0de23871fc72cfc31f514f0e144aaa2082
treec23e74b089ab2eda3a1e91ba092cd58fd9f6d9ce
parent968973d55d4b33e1a929ed4cdf9387fcaba2d93f
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.

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