diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2025-04-20 12:05:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-23 09:47:42 +0100 |
commit | 741e12d5b9e4a8d1c9935b0ac6f0bd5d3d0f7f27 (patch) | |
tree | c7d297b7e3ba21b0a9dbf22ca9c96447235237e7 /meta/classes-recipe | |
parent | 87c2effeb91e288f0ddc71f344d8b4a70c99820c (diff) | |
download | poky-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.bbclass | 3 | ||||
-rw-r--r-- | meta/classes-recipe/gio-module-cache.bbclass | 3 | ||||
-rw-r--r-- | meta/classes-recipe/gtk-immodules-cache.bbclass | 4 | ||||
-rw-r--r-- | meta/classes-recipe/manpages.bbclass | 2 | ||||
-rw-r--r-- | meta/classes-recipe/pixbufcache.bbclass | 5 |
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 | ||
12 | PACKAGE_WRITE_DEPS += "qemu-native" | 12 | PACKAGE_WRITE_DEPS += "qemuwrapper-cross" |
13 | inherit qemu | ||
14 | 13 | ||
15 | FONT_PACKAGES ??= "${PN}" | 14 | FONT_PACKAGES ??= "${PN}" |
16 | FONT_PACKAGES:class-native = "" | 15 | FONT_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 | ||
7 | PACKAGE_WRITE_DEPS += "qemu-native" | 7 | PACKAGE_WRITE_DEPS += "qemuwrapper-cross" |
8 | inherit qemu | ||
9 | 8 | ||
10 | GIO_MODULE_PACKAGES ??= "${PN}" | 9 | GIO_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 | ||
11 | PACKAGE_WRITE_DEPS += "qemu-native" | 11 | PACKAGE_WRITE_DEPS += "qemuwrapper-cross" |
12 | |||
13 | inherit qemu | ||
14 | 12 | ||
15 | GTKIMMODULES_PACKAGES ?= "${PN}" | 13 | GTKIMMODULES_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. |
11 | PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}" | 11 | PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'manpages', '', d)}" |
12 | 12 | ||
13 | inherit qemu | 13 | PACKAGE_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 |
16 | MAN_PKG ?= "${PN}-doc" | 16 | MAN_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 | ||
12 | DEPENDS:append:class-target = " qemu-native" | ||
13 | inherit qemu | ||
14 | |||
15 | PIXBUF_PACKAGES ??= "${PN}" | 12 | PIXBUF_PACKAGES ??= "${PN}" |
16 | 13 | ||
17 | PACKAGE_WRITE_DEPS += "qemu-native gdk-pixbuf-native" | 14 | PACKAGE_WRITE_DEPS += "qemuwrapper-cross gdk-pixbuf-native" |
18 | 15 | ||
19 | pixbufcache_common() { | 16 | pixbufcache_common() { |
20 | if [ "x$D" != "x" ]; then | 17 | if [ "x$D" != "x" ]; then |