diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-03-10 20:25:33 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-09-09 10:27:32 +0200 |
commit | 9e75205a7c27009754eca92c9f9ce12e8bc0d94a (patch) | |
tree | 1a701be6cd7d837952666a9881e2df11e7ee1f15 /meta | |
parent | 3353da1988f76c5e09fdaf601da4369b3ab531d9 (diff) | |
download | openembedded-core-contrib-9e75205a7c27009754eca92c9f9ce12e8bc0d94a.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image.bbclass | 1 |
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}" |