summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2025-04-20 12:05:24 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-23 09:47:42 +0100
commit741e12d5b9e4a8d1c9935b0ac6f0bd5d3d0f7f27 (patch)
treec7d297b7e3ba21b0a9dbf22ca9c96447235237e7 /meta/classes-recipe
parent87c2effeb91e288f0ddc71f344d8b4a70c99820c (diff)
downloadpoky-741e12d5b9e4a8d1c9935b0ac6f0bd5d3d0f7f27.tar.gz
classes/recipes: remove unnecessary qemu inherit and use qemuwrapper-cross
These classes/recipes inherit qemu.bbclass but do not use anything from it. What they use is qemuwrapper-cross, which is needed at do_rootfs time and needs to be pulled-in by PACKAGE_WRITE_DEPS. Also, in meta/conf/layer.conf, exclude qemuwrapper-cross deps for all arch recipes that depend on it. This it ensure allarch recipes have the same signature across different machines. (From OE-Core rev: 6f3ce94f4c03e7b26f1fcdf78ea969f57717ec56) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/fontcache.bbclass3
-rw-r--r--meta/classes-recipe/gio-module-cache.bbclass3
-rw-r--r--meta/classes-recipe/gtk-immodules-cache.bbclass4
-rw-r--r--meta/classes-recipe/manpages.bbclass2
-rw-r--r--meta/classes-recipe/pixbufcache.bbclass5
5 files changed, 5 insertions, 12 deletions
diff --git a/meta/classes-recipe/fontcache.bbclass b/meta/classes-recipe/fontcache.bbclass
index 6f4978369d..deadcd2fbb 100644
--- a/meta/classes-recipe/fontcache.bbclass
+++ b/meta/classes-recipe/fontcache.bbclass
@@ -9,8 +9,7 @@
9# packages. 9# packages.
10# 10#
11 11
12PACKAGE_WRITE_DEPS += "qemu-native" 12PACKAGE_WRITE_DEPS += "qemuwrapper-cross"
13inherit qemu
14 13
15FONT_PACKAGES ??= "${PN}" 14FONT_PACKAGES ??= "${PN}"
16FONT_PACKAGES:class-native = "" 15FONT_PACKAGES:class-native = ""
diff --git a/meta/classes-recipe/gio-module-cache.bbclass b/meta/classes-recipe/gio-module-cache.bbclass
index d12e03c4a0..3714678c7c 100644
--- a/meta/classes-recipe/gio-module-cache.bbclass
+++ b/meta/classes-recipe/gio-module-cache.bbclass
@@ -4,8 +4,7 @@
4# SPDX-License-Identifier: MIT 4# SPDX-License-Identifier: MIT
5# 5#
6 6
7PACKAGE_WRITE_DEPS += "qemu-native" 7PACKAGE_WRITE_DEPS += "qemuwrapper-cross"
8inherit qemu
9 8
10GIO_MODULE_PACKAGES ??= "${PN}" 9GIO_MODULE_PACKAGES ??= "${PN}"
11 10
diff --git a/meta/classes-recipe/gtk-immodules-cache.bbclass b/meta/classes-recipe/gtk-immodules-cache.bbclass
index 8fbe1dd1fb..585838c105 100644
--- a/meta/classes-recipe/gtk-immodules-cache.bbclass
+++ b/meta/classes-recipe/gtk-immodules-cache.bbclass
@@ -8,9 +8,7 @@
8# 8#
9# Usage: Set GTKIMMODULES_PACKAGES to the packages that needs to update the inputmethod modules 9# Usage: Set GTKIMMODULES_PACKAGES to the packages that needs to update the inputmethod modules
10 10
11PACKAGE_WRITE_DEPS += "qemu-native" 11PACKAGE_WRITE_DEPS += "qemuwrapper-cross"
12
13inherit qemu
14 12
15GTKIMMODULES_PACKAGES ?= "${PN}" 13GTKIMMODULES_PACKAGES ?= "${PN}"
16 14
diff --git a/meta/classes-recipe/manpages.bbclass b/meta/classes-recipe/manpages.bbclass
index e9ca2f895b..f3d034b046 100644
--- a/meta/classes-recipe/manpages.bbclass
+++ b/meta/classes-recipe/manpages.bbclass
@@ -10,7 +10,7 @@
10# by default. 10# by default.
11PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}" 11PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}"
12 12
13inherit qemu 13PACKAGE_WRITE_DEPS += "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'qemuwrapper-cross', '', d)}"
14 14
15# usually manual files are packaged to ${PN}-doc except man-pages 15# usually manual files are packaged to ${PN}-doc except man-pages
16MAN_PKG ?= "${PN}-doc" 16MAN_PKG ?= "${PN}-doc"
diff --git a/meta/classes-recipe/pixbufcache.bbclass b/meta/classes-recipe/pixbufcache.bbclass
index 107e38885e..c32673df55 100644
--- a/meta/classes-recipe/pixbufcache.bbclass
+++ b/meta/classes-recipe/pixbufcache.bbclass
@@ -9,12 +9,9 @@
9# packages. 9# packages.
10# 10#
11 11
12DEPENDS:append:class-target = " qemu-native"
13inherit qemu
14
15PIXBUF_PACKAGES ??= "${PN}" 12PIXBUF_PACKAGES ??= "${PN}"
16 13
17PACKAGE_WRITE_DEPS += "qemu-native gdk-pixbuf-native" 14PACKAGE_WRITE_DEPS += "qemuwrapper-cross gdk-pixbuf-native"
18 15
19pixbufcache_common() { 16pixbufcache_common() {
20if [ "x$D" != "x" ]; then 17if [ "x$D" != "x" ]; then