mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
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>
This commit is contained in:
@@ -8,7 +8,7 @@ DEPENDS = "gperf-native libcap util-linux python3-jinja2-native"
|
||||
|
||||
SECTION = "base/shell"
|
||||
|
||||
inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu systemd gettext bash-completion manpages features_check mime
|
||||
inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives systemd gettext bash-completion manpages features_check mime
|
||||
|
||||
# unmerged-usr support is deprecated upstream, taints the system and will be
|
||||
# removed in the near future. Fail the build if it is not enabled.
|
||||
@@ -932,7 +932,8 @@ pkg_prerm:${PN}:libc-glibc () {
|
||||
fi
|
||||
}
|
||||
|
||||
PACKAGE_WRITE_DEPS += "qemu-native"
|
||||
PACKAGE_WRITE_DEPS += "qemuwrapper-cross"
|
||||
|
||||
pkg_postinst:udev-hwdb () {
|
||||
if test -n "$D"; then
|
||||
$INTERCEPT_DIR/postinst_intercept update_udev_hwdb ${PKG} mlprefix=${MLPREFIX} binprefix=${MLPREFIX} \
|
||||
|
||||
Reference in New Issue
Block a user