aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2021-03-10 23:16:13 -0800
committerRobert Yang <liezhi.yang@windriver.com>2021-03-11 00:43:52 -0800
commit25142da05a29d5782b7d9030858c54a3c55730f2 (patch)
tree0487ebc6bfda02d030035ca6a9748420a677ac9a
parentb27bff26a9640dfdfba4fc711a9b28acb4501d2b (diff)
downloadopenembedded-core-contrib-rbt/image.tar.gz
openembedded-core-contrib-rbt/image.tar.bz2
openembedded-core-contrib-rbt/image.zip
image.bbclass: deltask do_packagedatarbt/image
This can fix a do_package error when compile with meta-secure-core layer: http://layers.openembedded.org/layerindex/branch/master/layer/meta-secure-core/ $ bitbake kernel-initramfs [snip] WARNING:kernel-initramfs-1.0-r0 do_package: Manifest build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-secure-core-image-initramfs.packagedata not found in intel_x86_64 corei7-64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk (variant '')? [snip] This is because kernel-initramfs wants to pack an initramfs image into kernel-initramfs.rpm which adds a dependency in kernel-initramfs.bb to do this: d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') This causes kernel-initramfs' do_package depends on ${INITRAMFS_IMAGE}:do_image_complete's do_packagedata, then we will get the error. Delete do_packagedata as other do_package relelated tasks for the image recipe will fix the error. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 41fc329178..b558653635 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -612,7 +612,7 @@ deltask do_populate_lic
deltask do_populate_sysroot
do_package[noexec] = "1"
deltask do_package_qa
-do_packagedata[noexec] = "1"
+deltask do_packagedata
deltask do_package_write_ipk
deltask do_package_write_deb
deltask do_package_write_rpm