diff options
-rw-r--r-- | meta/classes/image.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/license.bbclass | 4 |
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() { |