diff options
| -rw-r--r-- | meta/classes/base.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 024fe4331a..19673e6913 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -98,6 +98,9 @@ def get_lic_checksum_file_list(d): | |||
| 98 | filelist = [] | 98 | filelist = [] |
| 99 | lic_files = d.getVar("LIC_FILES_CHKSUM", True) or '' | 99 | lic_files = d.getVar("LIC_FILES_CHKSUM", True) or '' |
| 100 | tmpdir = d.getVar("TMPDIR", True) | 100 | tmpdir = d.getVar("TMPDIR", True) |
| 101 | s = d.getVar("S", True) | ||
| 102 | b = d.getVar("B", True) | ||
| 103 | workdir = d.getVar("WORKDIR", True) | ||
| 101 | 104 | ||
| 102 | urls = lic_files.split() | 105 | urls = lic_files.split() |
| 103 | for url in urls: | 106 | for url in urls: |
| @@ -109,7 +112,7 @@ def get_lic_checksum_file_list(d): | |||
| 109 | raise bb.fetch.MalformedUrl(url) | 112 | raise bb.fetch.MalformedUrl(url) |
| 110 | 113 | ||
| 111 | if path[0] == '/': | 114 | if path[0] == '/': |
| 112 | if path.startswith(tmpdir): | 115 | if path.startswith((tmpdir, s, b, workdir)): |
| 113 | continue | 116 | continue |
| 114 | filelist.append(path + ":" + str(os.path.exists(path))) | 117 | filelist.append(path + ":" + str(os.path.exists(path))) |
| 115 | except bb.fetch.MalformedUrl: | 118 | except bb.fetch.MalformedUrl: |
