3 # installs basic dependencies not specific to instantOS
5 echo "installing additional system software"
9 while ! pacman -S xorg --noconfirm --needed; do
10 dialog --msgbox "package installation failed \nplease reconnect to internet" 700 700
11 iroot automirror && command -v reflector &&
12 reflector --latest 40 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
16 # the comments are used for parsing while building a live iso. Do not remove
19 while ! pacman -S --noconfirm --needed \
33 xdg-desktop-portal-gtk \
55 xf86-input-synaptics \
58 system-config-printer \
60 grub; do # install end
63 command -v reflector &&
64 reflector --latest 40 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist &&
65 pacman -Sy --noconfirm
69 # iso for postinstall guestadditions
70 if iroot guestadditions; then
71 echo "installing virtualbox guest addidions"
72 pacman -S --noconfirm --needed virtualbox-guest-iso
75 # optional extra packages
76 if iroot packages &>/dev/null; then
77 echo "installing extra packages"
78 iroot packages | pacman -S --noconfirm --needed -
81 if command -v systemctl; then
82 pacman -S --noconfirm --needed steam steam-native-runtime
86 if command -v sv; then
87 echo "installing additional runit packages"
88 pacman -S --noconfirm --needed lightdm-runit networkmanager-runit
91 # auto install processor microcode
92 if uname -m | grep '^x'; then
93 echo "installing microcode"
94 if lscpu | grep -i 'name' | grep -i 'amd'; then
95 echo "installing AMD microcode"
96 pacman -S --noconfirm --needed amd-ucode
97 elif lscpu | grep -i 'name' | grep -i 'intel'; then
98 echo "installing Intel microcode"
99 pacman -S --noconfirm --needed intel-ucode