aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-03-10 20:25:33 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2021-09-09 10:27:32 +0200
commit9e75205a7c27009754eca92c9f9ce12e8bc0d94a (patch)
tree1a701be6cd7d837952666a9881e2df11e7ee1f15
parent3353da1988f76c5e09fdaf601da4369b3ab531d9 (diff)
downloadopenembedded-core-contrib-9e75205a7c27009754eca92c9f9ce12e8bc0d94a.tar.gz
openembedded-core-contrib-9e75205a7c27009754eca92c9f9ce12e8bc0d94a.tar.bz2
openembedded-core-contrib-9e75205a7c27009754eca92c9f9ce12e8bc0d94a.zip
image.bbclass: inherit nopackages
* image recipes don't produce any packages * it might help with strange dependency like: NOTE: recipe android-kernel-bootimg-1.0-r0: task do_package: Started ERROR: android-kernel-bootimg-1.0-r0 do_package: Manifest /OE/build/luneos-hardknott/webos-ports/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-initramfs-android-image.packagedata not found in tissot aarch64-halium aarch64 allarch x86_64_x86_64-nativesdk (variant '')? NOTE: recipe android-kernel-bootimg-1.0-r0: task do_package: Failed the android-kernel-bootimg has only the dependency on virtual/kernel:do_deploy and initramfs-android-image is shown in task-depends.dot from bitbake -g android-kernel-bootimg only as expected do_image_complete: linux-xiaomi-tissot.do_deploy -> initramfs-android-image.do_image_complete how it ended looking for packagedata is still a bit unknown, but removing this task completely with nopackages.bbclass seems to prevent this issue. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta/classes/image.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 2f1d5cfb46b..1dcaad4408e 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -15,6 +15,7 @@ IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-contain
IMGCLASSES += "image_types_wic"
IMGCLASSES += "rootfs-postcommands"
IMGCLASSES += "image-postinst-intercepts"
+IMGCLASSES += "nopackages"
inherit ${IMGCLASSES}
TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}"