#!/usr/bin/make -f #export DH_VERBOSE=1 export DH_OPTIONS include /usr/share/dpkg/architecture.mk %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- --disable-vddk --sbindir=/usr/bin # Workaround for unreliable changes in qemu behavior on the # autobuilders, e.g.: # - s390x: qemu-system-s390x won't start: # "Initialization of device s390-ipl failed: could not find stage1 bootloader" # - mipsel, armel, powerpc: test suite hangs: # "Build killed with signal TERM after 150 minutes of inactivity" # - armhf: qemu-system-arm crashes (#888182): # "libguestfs: error: /usr/bin/qemu-system-arm killed by signal 11 (Segmentation fault)." # - arm64: qemu really wants KVM: # qemu-system-aarch64: failed to initialize KVM: No such file or directory # qemu-system-aarch64: Back to tcg accelerator # qemu-system-aarch64: gic-version=host requires KVM # - mips64el: qemu-system-mips64el won't start: # "libguestfs: error: /usr/bin/qemu-system-mips64el exited with error status 1." # "qemu-system-mips64el: Initialization of device mc146818rtc failed: Invalid lost tick policy." # - ppc64, ppc64el: qemu-system-ppc64 crashes: # "libguestfs: error: /usr/bin/qemu-system-ppc64 killed by signal 4 (Illegal instruction)." # "libguestfs: error: /usr/bin/qemu-system-ppc64 killed by signal 11 (Segmentation fault)." override_dh_auto_test: PATH := $(PATH):/sbin override_dh_auto_test: export LIBGUESTFS_DEBUG=1 override_dh_auto_test: ifneq (,$(findstring $(DEB_HOST_ARCH),i386 amd64)) dh_auto_test --no-parallel endif override_dh_missing: dh_missing -X.la --fail-missing override_dh_install: dh_install -X.la # Don't run dh_makeshlibs since no "real" shared libraries are built # Thus avoid Lintian warnings/errors: # - pkg-has-shlibs-control-file-but-no-actual-shared-libs # - post{inst,rm}-has-useless-call-to-ldconfig override_dh_makeshlibs: