summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2024-04-24 12:23:26 +0200
committer Matteo Bernardini2024-04-27 10:51:27 +0200
commit75211f9d3c1ff241ed534f353577cd295ffa6da1 (patch)
tree127ea7450421aeae2fe262bd786ee17c0cfa955d
parent68ac93024440c1dcb61e579018ce241a1ab44180 (diff)
downloadslackbuilds-qemu.tar.gz
system/qemu: Add mandatory dependencies.qemu
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/qemu/README12
-rw-r--r--system/qemu/qemu.SlackBuild6
-rw-r--r--system/qemu/qemu.info2
3 files changed, 10 insertions, 10 deletions
diff --git a/system/qemu/README b/system/qemu/README
index 1c9b196e0c..82e16158ad 100644
--- a/system/qemu/README
+++ b/system/qemu/README
@@ -41,14 +41,12 @@ your processor) prior to launching qemu-system-ARCH with kvm enabled.
For older/unmaintained qemu frontends, this build also creates a symlink
to qemu-system-ARCH at /usr/bin/qemu-kvm.
-libslirp (user mode networking), libcacard, spice, usbredir,
-virglrenderer, libnfs, snappy, device-tree-compiler, glusterfs, and vde2
-are optional dependencies.
+libcacard, spice, usbredir, virglrenderer, libnfs, snappy, glusterfs,
+device-tree-compiler, and vde2 are optional dependencies.
-To enable user mode networking, install libslirp (availale on SBO), then
-compile qemu:
+To disable user mode networking compile qemu with:
-SLIRP=yes ./qemu.SlackBuild
+ SLIRP=no ./qemu.SlackBuild
libiscsi (to access iSCSI targets directly) is optional dependency,
and will be picked up, if present, during the compilation.
@@ -58,6 +56,8 @@ order for any of the documentation to be built.
If you wish to emulate ARM, you will want device-tree-compiler.
+The dependency virtiofsd isn't usable on a 32bit operating system.
+
NOTES:
This version breaks some backward compatibility with earlier versions.
Consult the official changelogs for details.
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 73604dc9e3..f28d7a2cb8 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -112,10 +112,10 @@ else
fi
# To enable user mode networking use SLIRP=yes
-if [ "$SLIRP" = "yes" ]; then
- with_slirp="--enable-slirp"
+if [ "$SLIRP" = "no" ]; then
+ with_slirp="--disable-slirp"
else
- with_slirp=""
+ with_slirp="--enable-slirp"
fi
CFLAGS="$SLKCFLAGS" \
diff --git a/system/qemu/qemu.info b/system/qemu/qemu.info
index 7e9f20f028..805c585dc8 100644
--- a/system/qemu/qemu.info
+++ b/system/qemu/qemu.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://download.qemu.org/qemu-8.2.2.tar.xz"
MD5SUM="e43091262671c1728b09522932b75b1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libslirp virtiofsd"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@linuxgalaxy.org"