diff options
author | Andreas Fankhauser hiddenalpha.ch | 2024-09-30 18:49:24 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2024-09-30 18:49:24 +0200 |
commit | 8abe4002c04c3e381d54ff57a2b7e2aaf551b7a3 (patch) | |
tree | 6f9c9e86f2731af3e5d414a16ae7e5d69aa0ceb8 /doc/note/qemu/compile-qemu-itself.txt | |
parent | 69782e8b126fdcd5b51e40773099c136e139a839 (diff) | |
parent | caf8fe34a85facf4edad8930015fbe9ae3d5f7b6 (diff) | |
download | UnspecifiedGarbage-8abe4002c04c3e381d54ff57a2b7e2aaf551b7a3.zip UnspecifiedGarbage-8abe4002c04c3e381d54ff57a2b7e2aaf551b7a3.tar.gz |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'doc/note/qemu/compile-qemu-itself.txt')
-rw-r--r-- | doc/note/qemu/compile-qemu-itself.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/note/qemu/compile-qemu-itself.txt b/doc/note/qemu/compile-qemu-itself.txt new file mode 100644 index 0000000..aed0522 --- /dev/null +++ b/doc/note/qemu/compile-qemu-itself.txt @@ -0,0 +1,27 @@ + +# +# Compile qemu bullshit-free for windoof. +# +# [src](https://wiki.qemu.org/Hosts/W32) +# +# +# WARN: This does NOT work +# + +true \ + && QEMU_URL="https://download.qemu.org/qemu-8.2.1.tar.xz" \ + && SUDO=sudo \ + && WORKDIR=/home/${USER:?}/work \ + && CACHEDIR=/var/tmp \ + && QEMU_TXZ=$(basename "${QEMU_URL:?}") \ + && $SUDO apt install -y --no-install-recommends curl \ + && curl -D- "${QEMU_URL:?}" -o "${CACHEDIR:?}/${QEMU_TXZ:?}" \ + && mkdir -p "${WORKDIR:?}" \ + && cd "${WORKDIR:?}" \ + && tar xf "${CACHEDIR:?}/${QEMU_TXZ:?}" \ + && cd qemu* \ + && ./configure \ + && make \ + && true + + |