summaryrefslogtreecommitdiffstats
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-05-06 11:03:35 +0200
commit2f4cf41f73afe317a3a1b9b1d87f47864a2cc27c (patch)
treeb94e2f2be63cf159cf703d40631634c75cc41ac6
parentc7b544700e0cfee1c4d8041ec97e69aa00f6d55c (diff)
downloadopenembedded-core-contrib-jansa/gatesgarth.tar.gz
openembedded-core-contrib-jansa/gatesgarth.tar.bz2
openembedded-core-contrib-jansa/gatesgarth.zip
image.bbclass: inherit nopackagesjansa/gatesgarth
* 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 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}"