Skip to content

Commit

Permalink
qemu: Remove duplicate installation artifacts
Browse files Browse the repository at this point in the history
Summary: qemu-native and qemu-system-native end up writing to the same install paths if you build `qemu-helper-native` (which you have to build for `runqemu`), so the upstream solves this by deleting some of the installation artifacts in this recipe.

Test Plan: `bitbake qemu-helper-native`

Reviewed By: williamspatrick

fbshipit-source-id: e567671284d59d71a02f09f4ae146d82082fb3ef
  • Loading branch information
peterdelevoryas authored and facebook-github-bot committed Aug 9, 2022
1 parent f1dfb2c commit f0d2d64
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions common/recipes-devtools/qemu/qemu-system-native_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ PACKAGECONFIG ??= "fdt "

EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"
EXTRA_OECONF:remove = " --meson=meson"

do_install:append() {
# The following is also installed by qemu-native
rm -f ${D}${datadir}/qemu/trace-events-all
rm -rf ${D}${datadir}/qemu/keymaps
rm -rf ${D}${datadir}/icons/
rm -rf ${D}${includedir}/qemu-plugin.h
}

0 comments on commit f0d2d64

Please sign in to comment.