summaryrefslogtreecommitdiffstats
path: root/classes/fsl-eula-unpack.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/fsl-eula-unpack.bbclass')
-rw-r--r--classes/fsl-eula-unpack.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index 198a1944..03f576e5 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM_append = " file://${FSL_EULA_FILE};md5=ab61cab9599935bfe9f70040
11LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE" 11LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE"
12 12
13python fsl_bin_do_unpack() { 13python fsl_bin_do_unpack() {
14 src_uri = (d.getVar('SRC_URI', True) or "").split() 14 src_uri = (d.getVar('SRC_URI') or "").split()
15 if len(src_uri) == 0: 15 if len(src_uri) == 0:
16 return 16 return
17 17
@@ -44,9 +44,9 @@ python fsl_bin_do_unpack() {
44} 44}
45 45
46python do_unpack() { 46python do_unpack() {
47 eula = d.getVar('ACCEPT_FSL_EULA', True) 47 eula = d.getVar('ACCEPT_FSL_EULA')
48 eula_file = d.getVar('FSL_EULA_FILE', True) 48 eula_file = d.getVar('FSL_EULA_FILE')
49 pkg = d.getVar('PN', True) 49 pkg = d.getVar('PN')
50 if eula == None: 50 if eula == None:
51 bb.fatal("To use '%s' you need to accept the Freescale EULA at '%s'. " 51 bb.fatal("To use '%s' you need to accept the Freescale EULA at '%s'. "
52 "Please read it and in case you accept it, write: " 52 "Please read it and in case you accept it, write: "