rootfs: move tasks using image_list_installed_packages to postuninstall

Since some packages can be uninstalled, any task querying installed
packages should be run only after both installation and uninstallation
is completed.

(From OE-Core rev: d79423d3a1b8cabdf7c0383de2b5460a9725d912)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: c3097962ac925538e99b17b771c541950a8b8c26)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
Peter Marko
2026-07-15 23:02:08 +02:00
committed by Paul Barker
parent 46891dba64
commit 9a906f991a
2 changed files with 2 additions and 2 deletions

View File

@@ -294,7 +294,7 @@ def get_deployed_files(man_file):
dep_files.append(os.path.basename(f)) dep_files.append(os.path.basename(f))
return dep_files return dep_files
ROOTFS_POSTPROCESS_COMMAND:prepend = "write_package_manifest license_create_manifest " ROOTFS_POSTUNINSTALL_COMMAND:prepend = "write_package_manifest license_create_manifest "
do_rootfs[recrdeptask] += "do_populate_lic" do_rootfs[recrdeptask] += "do_populate_lic"
python do_populate_lic_deploy() { python do_populate_lic_deploy() {

View File

@@ -229,7 +229,7 @@ python vex_write_rootfs_manifest () {
bb.plain("Image VEX JSON report stored in: %s" % manifest_name) bb.plain("Image VEX JSON report stored in: %s" % manifest_name)
} }
ROOTFS_POSTPROCESS_COMMAND:prepend = "vex_write_rootfs_manifest " ROOTFS_POSTUNINSTALL_COMMAND:prepend = "vex_write_rootfs_manifest "
do_rootfs[recrdeptask] += "do_generate_vex " do_rootfs[recrdeptask] += "do_generate_vex "
do_populate_sdk[recrdeptask] += "do_generate_vex " do_populate_sdk[recrdeptask] += "do_generate_vex "