Ver código fonte

package/qemu: disable bzip2 for the host variant

bzip2 support is needed for reading bzip2-compressed dmg images.

But the host-bzip2 is missing from host qemu package dependency,
so the qemu build system will try to detect automatically the
external libbzip2 libraries installed on the host.

$ ldd output/host/bin/qemu-system-aarch64
	[...]
	libbz2.so.1 => /lib64/libbz2.so.1
or
	libbz2.so.1.0 => output/host/lib/libbz2.so.1.0
if host-bzip2 is built before host-qemu.

Disable explicitely bzip2 options to improve the build
reproducibility.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Romain Naour 5 anos atrás
pai
commit
743fceb2ed
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      package/qemu/qemu.mk

+ 1 - 0
package/qemu/qemu.mk

@@ -303,6 +303,7 @@ define HOST_QEMU_CONFIGURE_CMDS
 		--extra-cflags="$(HOST_QEMU_CFLAGS)" \
 		--extra-cflags="$(HOST_QEMU_CFLAGS)" \
 		--extra-ldflags="$(HOST_LDFLAGS)" \
 		--extra-ldflags="$(HOST_LDFLAGS)" \
 		--python=$(HOST_DIR)/bin/python3 \
 		--python=$(HOST_DIR)/bin/python3 \
+		--disable-bzip2 \
 		--disable-libssh \
 		--disable-libssh \
 		--disable-vnc-jpeg \
 		--disable-vnc-jpeg \
 		--disable-vnc-png \
 		--disable-vnc-png \