summaryrefslogtreecommitdiffstats
path: root/classes/fsl-eula-unpack.bbclass
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2019-01-17 15:57:41 -0200
committerGitHub <noreply@github.com>2019-01-17 15:57:41 -0200
commit4d00e1d094571597fcfb686112157577fe49fc17 (patch)
tree169665d86e12f2aa2d6df71a856c1893267972d7 /classes/fsl-eula-unpack.bbclass
parent9704df97f08cf5895e2f5bcfb33f1a53d10c7704 (diff)
parent74df05a7f0fd698cbbe65b9bf925f186891426ca (diff)
downloadmeta-freescale-4d00e1d094571597fcfb686112157577fe49fc17.tar.gz
Merge pull request #40 from andred/for-merge
remove True option to getVar calls
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: "