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/recipes-core/udev | |
| 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/recipes-core/udev')
| -rw-r--r-- | meta/recipes-core/udev/eudev_3.2.14.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/eudev_3.2.14.bb b/meta/recipes-core/udev/eudev_3.2.14.bb index b3e7d092c5..a2d222e655 100644 --- a/meta/recipes-core/udev/eudev_3.2.14.bb +++ b/meta/recipes-core/udev/eudev_3.2.14.bb | |||
| @@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "8da4319102f24abbf7fff5ce9c416af848df163b29590e666d334cc192 | |||
| 20 | 20 | ||
| 21 | GITHUB_BASE_URI = "https://github.com/eudev-project/eudev/releases" | 21 | GITHUB_BASE_URI = "https://github.com/eudev-project/eudev/releases" |
| 22 | 22 | ||
| 23 | inherit autotools update-rc.d qemu pkgconfig features_check manpages github-releases | 23 | inherit autotools update-rc.d pkgconfig features_check manpages github-releases |
| 24 | 24 | ||
| 25 | CONFLICT_DISTRO_FEATURES = "systemd" | 25 | CONFLICT_DISTRO_FEATURES = "systemd" |
| 26 | 26 | ||
| @@ -77,7 +77,7 @@ RDEPENDS:${PN} += "kmod" | |||
| 77 | RPROVIDES:${PN} = "hotplug udev" | 77 | RPROVIDES:${PN} = "hotplug udev" |
| 78 | RPROVIDES:${PN}-hwdb += "udev-hwdb" | 78 | RPROVIDES:${PN}-hwdb += "udev-hwdb" |
| 79 | 79 | ||
| 80 | PACKAGE_WRITE_DEPS += "qemu-native" | 80 | PACKAGE_WRITE_DEPS += "qemuwrapper-cross" |
| 81 | pkg_postinst:${PN}-hwdb () { | 81 | pkg_postinst:${PN}-hwdb () { |
| 82 | if test -n "$D"; then | 82 | if test -n "$D"; then |
| 83 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} | 83 | $INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} |
