diff options
Diffstat (limited to 'classes/fsl-eula-unpack.bbclass')
-rw-r--r-- | classes/fsl-eula-unpack.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass index 5fd18c2f..928c992a 100644 --- a/classes/fsl-eula-unpack.bbclass +++ b/classes/fsl-eula-unpack.bbclass | |||
@@ -128,6 +128,8 @@ python fsl_bin_do_unpack() { | |||
128 | bb.note("Handling file '%s' as a Freescale EULA-licensed archive." % url.basename) | 128 | bb.note("Handling file '%s' as a Freescale EULA-licensed archive." % url.basename) |
129 | cmd = "sh %s --auto-accept --force" % (url.localpath) | 129 | cmd = "sh %s --auto-accept --force" % (url.localpath) |
130 | bb.fetch2.runfetchcmd(cmd, d, quiet=True, workdir=rootdir) | 130 | bb.fetch2.runfetchcmd(cmd, d, quiet=True, workdir=rootdir) |
131 | if not found: | ||
132 | bb.fatal("The recipe inherits 'fsl-eula-unpack.bbclass' but does not mark any URL in SRC_URI with the option 'fsl-eula=true'") | ||
131 | 133 | ||
132 | # Check for two EULAs, one from the layer and one from the package | 134 | # Check for two EULAs, one from the layer and one from the package |
133 | bb.note("Checking LIC_FILES_CHKSUM for Freescale EULA consistency...") | 135 | bb.note("Checking LIC_FILES_CHKSUM for Freescale EULA consistency...") |