-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathget-dependencies.sh
More file actions
40 lines (34 loc) · 1.4 KB
/
Copy pathget-dependencies.sh
File metadata and controls
40 lines (34 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
set -eu
ARCH=$(uname -m)
echo "Installing package dependencies..."
echo "---------------------------------------------------------------"
if [ "$ARCH" = "aarch64" ]; then
DATE=202602-3
wget https://umea.mirror.pkgbuild.com/extra/os/x86_64/edk2-aarch64-${DATE}-any.pkg.tar.zst
wget https://umea.mirror.pkgbuild.com/extra/os/x86_64/edk2-riscv64-${DATE}-any.pkg.tar.zst
wget https://umea.mirror.pkgbuild.com/extra/os/x86_64/qemu-system-arm-firmware-11.0.0-1-x86_64.pkg.tar.zst
wget https://umea.mirror.pkgbuild.com/extra/os/x86_64/edk2-ovmf-${DATE}-any.pkg.tar.zst
wget https://umea.mirror.pkgbuild.com/extra/os/x86_64/seabios-1.17.0-2-any.pkg.tar.zst
pacman -U *.pkg.tar.zst --noconfirm --arch x86_64
else
pacman -S --noconfirm edk2-aarch64 qemu-system-arm-firmware
fi
pacman -Syu --noconfirm --overwrite '/usr/share/qemu/*' \
libdecor \
pipewire-audio \
pipewire-jack \
qemu-full \
qemu-desktop \
qemu-user \
qemu-user-binfmt \
spice-gtk \
swtpm \
virtiofsd
echo "Installing debloated packages..."
echo "---------------------------------------------------------------"
get-debloated-pkgs --add-common --prefer-nano
# Comment this out if you need an AUR package
make-aur-package zenity-rs-bin
make-aur-package quickemu
# If the application needs to be manually built that has to be done down here