1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

image.bbclass, license.bbclass: adjust the name of list_installed_packages()

The old wrapper got renamed to image_list_installed_packages().

(From OE-Core rev: 118a2a44bbe5ed2e9bbd0012970686be454e5d4c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Laurentiu Palcu
2014-03-18 11:17:09 +00:00
committed by Richard Purdie
parent 483d5a4f31
commit 0ec27e63a3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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.
+2 -2
View File
@@ -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() {