diff mbox series

meta-world-pkgdata: Inherit nopackages

Message ID 20240815133643.4077749-1-martin.jansa@gmail.com
State Accepted, archived
Commit c94b18885fc4a684d5b403f864c7da2cb8b0d188
Headers show
Series meta-world-pkgdata: Inherit nopackages | expand

Commit Message

Martin Jansa Aug. 15, 2024, 1:36 p.m. UTC
Since this is a recipe with PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 meta/recipes-core/meta/meta-world-pkgdata.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/meta/meta-world-pkgdata.bb b/meta/recipes-core/meta/meta-world-pkgdata.bb
index 244175ddd4..1bfaf2c1e3 100644
--- a/meta/recipes-core/meta/meta-world-pkgdata.bb
+++ b/meta/recipes-core/meta/meta-world-pkgdata.bb
@@ -27,7 +27,7 @@  python do_collect_packagedata() {
     oe.copy_buildsystem.generate_locked_sigs(sigfile, d)
 }
 
-inherit nospdx
+inherit nospdx nopackages
 deltask do_fetch
 deltask do_unpack
 deltask do_patch