diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/license.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 32e172afc7..c616a20121 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -39,7 +39,7 @@ python license_create_manifest() { | |||
39 | return 0 | 39 | return 0 |
40 | 40 | ||
41 | pkg_dic = {} | 41 | pkg_dic = {} |
42 | for pkg in image_list_installed_packages(d).split("\n"): | 42 | for pkg in image_list_installed_packages(d).splitlines(): |
43 | pkg_info = os.path.join(d.getVar('PKGDATA_DIR', True), | 43 | pkg_info = os.path.join(d.getVar('PKGDATA_DIR', True), |
44 | 'runtime-reverse', pkg) | 44 | 'runtime-reverse', pkg) |
45 | pkg_name = os.path.basename(os.readlink(pkg_info)) | 45 | pkg_name = os.path.basename(os.readlink(pkg_info)) |