]> code.ossystems Code Review - openembedded-core.git/commit
classes/insane: do not force LIC_FILES_CHKSUM unless SRC_URI is set
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 9 May 2016 22:25:05 +0000 (10:25 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 May 2016 09:08:30 +0000 (10:08 +0100)
commitc269547ae8e90a78349f6003385137e4145e145f
tree478b79f3e14cf4e061b38bd18fbc451457f081e7
parent855a2d21503856af392ab2d54ccfa270505ba142
classes/insane: do not force LIC_FILES_CHKSUM unless SRC_URI is set

Recipes such as images and packagegroups don't actually fetch or build
any source, so there's really no point having LIC_FILES_CHKSUM set.
Forcing users to set it (as we have done for images inheriting
image.bbclass) just makes things more difficult for the user for no
discernable benefit. The easiest way to adjust this check is simply to
skip it if SRC_URI is not set since this is a pretty good indicator that
no source is being pulled in.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass