summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-03-18 11:17:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 12:05:30 +0000
commit118a2a44bbe5ed2e9bbd0012970686be454e5d4c (patch)
treebd9c3c1da076166d06f9a0fde4e52281cff9c533 /meta
parent8fc18e67504db5b6df3fdd239c6187a71af52656 (diff)
downloadopenembedded-core-118a2a44bbe5ed2e9bbd0012970686be454e5d4c.tar.gz
openembedded-core-118a2a44bbe5ed2e9bbd0012970686be454e5d4c.tar.bz2
openembedded-core-118a2a44bbe5ed2e9bbd0012970686be454e5d4c.zip
image.bbclass, license.bbclass: adjust the name of list_installed_packages()
The old wrapper got renamed to image_list_installed_packages(). Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image.bbclass4
-rw-r--r--meta/classes/license.bbclass4
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 51d16d7d55..9a04288ba6 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -330,9 +330,9 @@ make_zimage_symlink_relative () {
}
python write_image_manifest () {
- from oe.rootfs import list_installed_packages
+ from oe.rootfs import image_list_installed_packages
with open(d.getVar('IMAGE_MANIFEST', True), 'w+') as image_manifest:
- image_manifest.write(list_installed_packages(d, 'ver'))
+ image_manifest.write(image_list_installed_packages(d, 'ver'))
}
# Make login manager(s) enable automatic login.
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index a0b877d341..08f0665e7d 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -20,9 +20,9 @@ python write_package_manifest() {
# Get list of installed packages
license_image_dir = d.expand('${LICENSE_DIRECTORY}/${IMAGE_NAME}')
bb.utils.mkdirhier(license_image_dir)
- from oe.rootfs import list_installed_packages
+ from oe.rootfs import image_list_installed_packages
open(os.path.join(license_image_dir, 'package.manifest'),
- 'w+').write(list_installed_packages(d))
+ 'w+').write(image_list_installed_packages(d))
}
license_create_manifest() {