summaryrefslogtreecommitdiff
path: root/meta/classes/license.bbclass
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2015-08-26 16:57:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-29 13:32:41 +0100
commita902e98c5938f52ec960e0518e0ceaf8f5ee610c (patch)
tree00ce66a5d4ff1b0226fcfd0145ed15d76c91100c /meta/classes/license.bbclass
parentc51d24710b48eb3930edb8c661100705c6203e78 (diff)
downloadopenembedded-core-a902e98c5938f52ec960e0518e0ceaf8f5ee610c.tar.gz
openembedded-core-a902e98c5938f52ec960e0518e0ceaf8f5ee610c.tar.bz2
openembedded-core-a902e98c5938f52ec960e0518e0ceaf8f5ee610c.zip
Empty image: package list splitting and iteration
A few short fixes to splitting/iteration done over package lists in license.bbclass, package_manager.py and rootfs.py. [YOCTO #7664] Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r--meta/classes/license.bbclass2
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() {
return 0
pkg_dic = {}
- for pkg in image_list_installed_packages(d).split("\n"):
+ for pkg in image_list_installed_packages(d).splitlines():
pkg_info = os.path.join(d.getVar('PKGDATA_DIR', True),
'runtime-reverse', pkg)
pkg_name = os.path.basename(os.readlink(pkg_info))