aboutsummaryrefslogtreecommitdiff
path: root/gpu_pass.sh
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-03 03:44:13 +0300
committerawy <awy@tutamail.com>2024-08-03 03:44:13 +0300
commitce631c8b42f2d777599701cea89572b91bbf0617 (patch)
treed30adf30ae6015dc851b60ef5af78440ffb51f74 /gpu_pass.sh
parent6053b8d20d496b69e35b71d43c231f381cb3efc8 (diff)
doas + qemu-desktop package
Diffstat (limited to 'gpu_pass.sh')
-rwxr-xr-xgpu_pass.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu_pass.sh b/gpu_pass.sh
index b0ec1d4..1bb8c5e 100755
--- a/gpu_pass.sh
+++ b/gpu_pass.sh
@@ -6,8 +6,8 @@ if [ "$EUID" -ne 0 ]
exit
fi
-sudo -u $PERMUSER mkdir -p /home/$PERMUSER/.local/share/vgabios
-sudo -u $PERMUSER cp $WORKDIRECTORY/Hooks/patch.rom /home/$PERMUSER/.local/share/vgabios
+doas -u $PERMUSER mkdir -p /home/$PERMUSER/.local/share/vgabios
+doas -u $PERMUSER cp $WORKDIRECTORY/Hooks/patch.rom /home/$PERMUSER/.local/share/vgabios
#pacman -S qemu libvirt edk2-ovmf virt-manager ebtables dnsmasq wget qemu-ui-sdl qemu-ui-gtk
#systemctl enable libvirtd.service
@@ -18,7 +18,7 @@ sudo -u $PERMUSER cp $WORKDIRECTORY/Hooks/patch.rom /home/$PERMUSER/.local/share
#virsh net-start default
pacman -Sy --noconfirm
-pacman -S qemu-full libvirt libvirt-runit edk2-ovmf virt-manager dnsmasq wget --noconfirm
+pacman -S qemu-desktop libvirt libvirt-runit edk2-ovmf virt-manager dnsmasq wget --noconfirm
mkdir /etc/libvirt/hooks