builds qemu-binary
This commit is contained in:
parent
d0dc98def2
commit
744b35160f
1
Makefile
1
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
|
||||
|
9
build.sh
9
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 ./
|
||||
|
Loading…
Reference in New Issue
Block a user