From c46aa8fbea5210599e79be267bacdea8451c9662 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 31 Jan 2024 22:06:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9VMInstaller=20Qemu=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=84=9A=E6=9C=AC=E4=BB=A5=E6=94=AF=E6=8C=81Arch=20Li?= =?UTF-8?q?nux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QemuSystemInstall.sh | 6 ++++++ deb/DEBIAN/control | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/QemuSystemInstall.sh b/QemuSystemInstall.sh index 38f3e9a..8a324f9 100755 --- a/QemuSystemInstall.sh +++ b/QemuSystemInstall.sh @@ -1,4 +1,10 @@ #!/bin/bash +# 如果是 Arch Linux +if [[-f /etc/arch-release ]]; then + sudo pacman -Syu + sudo pacman -S qemu-user qemu-user-static qemu-full + exit +fi sudo apt update sudo apt install qemu-system qemu-user qemu-efi qemu-efi-aarch64 qemu-efi-arm -y sudo apt install qemu-user-static binfmt-support qemu-system-gui -y diff --git a/deb/DEBIAN/control b/deb/DEBIAN/control index 96e0370..18c85b1 100755 --- a/deb/DEBIAN/control +++ b/deb/DEBIAN/control @@ -8,8 +8,8 @@ Certainty: possible Check: binaries Type: binary, udeb Priority: optional -Depends: python3, python3-pil, libc6, python3-pil.imagetk, python3-pyquery, aria2, curl, unrar | unrar-free , unzip, python3-requests, python3-pyqt5, python3-psutil, deepin-terminal | mate-terminal | gnome-terminal | xfce4-terminal, python3-dbus, python3-pip, p7zip-full, sudo, python3-pyperclip, bubblewrap, zenity, tree, qemu-full | qemu-system, dpkg -Recommends: winbind, wimtools, python3-pyqt5.qtwebengine, binfmt-support, libc6:i386, libc6:armhf, libwine +Depends: python3, python3-pil, libc6, python3-pil.imagetk, python3-pyquery, aria2, curl, unrar | unrar-free , unzip, python3-requests, python3-pyqt5, python3-psutil, deepin-terminal | mate-terminal | gnome-terminal | xfce4-terminal, python3-dbus, python3-pip, p7zip-full, sudo, python3-pyperclip, bubblewrap, zenity, tree, dpkg +Recommends: winbind, wimtools, python3-pyqt5.qtwebengine, binfmt-support, libc6:i386, libc6:armhf, libwine, , qemu-system | qemu-full Section: utils Conflicts: spark.deepin-venturi-setter, spark-deepin-wine5-application-packer, spark-deepin-wine-runner-52 Replaces: spark.deepin-venturi-setter, spark-deepin-wine5-application-packer, spark-deepin-wine-runner-52