From 9e75205a7c27009754eca92c9f9ce12e8bc0d94a Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 10 Mar 2021 20:25:33 +0100 Subject: 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 --- meta/classes/image.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes') diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 2f1d5cfb46..1dcaad4408 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}" -- cgit v1.2