diff --git a/Makefile b/Makefile index 91137b2..74f0aba 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,6 @@ qemu-build: touch qemu-build qemu-binary: qemu-build - podman stop qemu-builder ; podman rm qemu-builder || true podman run --rm --name qemu-builder -v $(PWD):/src repo.brass.host/libvirt/qemu-build sh ./build.sh touch qemu-binary # buildah from almalinux:8 --name "qemu-build" -v $(PWD):/src diff --git a/build.sh b/build.sh index 1e02d18..ea51f7d 100644 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ rm -rf build mkdir -p build cd build ../configure \ - --prefix=qemu \ + --prefix=/ \ --localstatedir=var \ --enable-kvm \ --enable-gnutls \ @@ -38,23 +38,18 @@ cd build --enable-tcg \ --enable-tools \ --enable-tpm \ - --enable-trace-backend=dtrace \ - --enable-virtiofsd \ --enable-vhost-kernel \ --enable-vhost-net \ --enable-vhost-user \ --enable-vhost-user-blk-server \ --enable-vhost-vdpa \ - --enable-vhost-vsock \ --enable-vnc \ - --enable-vnc-png \ --enable-vnc-sasl \ --enable-werror \ --enable-xkbcommon \ --enable-attr \ --enable-avx2 \ --enable-cap-ng \ - --enable-capstone=internal \ --enable-coroutine-pool \ --enable-curl \ --enable-debug-info \ @@ -63,4 +58,4 @@ cd build make -j 8 make install DESTDIR=/opt cd /opt -tar -cJf /src/qemu/${QEMU_VERSION}.tar.xz ./ +tar -cJf /src/${QEMU_VERSION}.tar.xz ./