mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 14:52:19 +02:00
fsl-eula-unpack.bbclass: Fail if fsl-eula=true is missing
It doesn't make sense to inherit the class but not use it. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
effeb16a8f
commit
4f9ab86277
|
@ -128,6 +128,8 @@ python fsl_bin_do_unpack() {
|
|||
bb.note("Handling file '%s' as a Freescale EULA-licensed archive." % url.basename)
|
||||
cmd = "sh %s --auto-accept --force" % (url.localpath)
|
||||
bb.fetch2.runfetchcmd(cmd, d, quiet=True, workdir=rootdir)
|
||||
if not found:
|
||||
bb.fatal("The recipe inherits 'fsl-eula-unpack.bbclass' but does not mark any URL in SRC_URI with the option 'fsl-eula=true'")
|
||||
|
||||
# Check for two EULAs, one from the layer and one from the package
|
||||
bb.note("Checking LIC_FILES_CHKSUM for Freescale EULA consistency...")
|
||||
|
|
Loading…
Reference in New Issue
Block a user