diff options
-rw-r--r-- | meta/classes/license.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 43944e6ee6..69335d650d 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -181,8 +181,10 @@ def license_deployed_manifest(d): | |||
181 | key,val = line.split(": ", 1) | 181 | key,val = line.split(": ", 1) |
182 | man_dic[dep][key] = val[:-1] | 182 | man_dic[dep][key] = val[:-1] |
183 | 183 | ||
184 | image_license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY', True), | 184 | lic_manifest_dir = os.path.join(d.getVar('LICENSE_DIRECTORY', True), |
185 | d.getVar('IMAGE_NAME', True), 'image_license.manifest') | 185 | d.getVar('IMAGE_NAME', True)) |
186 | bb.utils.mkdirhier(lic_manifest_dir) | ||
187 | image_license_manifest = os.path.join(lic_manifest_dir, 'image_license.manifest') | ||
186 | write_license_files(d, image_license_manifest, man_dic) | 188 | write_license_files(d, image_license_manifest, man_dic) |
187 | 189 | ||
188 | def get_deployed_dependencies(d): | 190 | def get_deployed_dependencies(d): |