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 \
32 xdg-desktop-portal-gtk \
47 grub; do # install end
50 command -v reflector &&
51 reflector --latest 40 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist &&
52 pacman -Sy --noconfirm
56 # iso for postinstall guestadditions
57 if iroot guestadditions; then
58 echo "installing virtualbox guest addidions"
59 pacman -S --noconfirm --needed virtualbox-guest-iso
62 # optional extra packages
63 if iroot packages; then
64 echo "installing extra packages"
65 PACKAGES="$(iroot packages)"
66 for t in ${PACKAGES[@]}; do
69 if command -v systemctl; then
70 pacman -S --noconfirm --needed steam steam-native-runtime
72 echo "steam is not available on artix"
77 pacman -S --noconfirm --needed vim vim-runtime
81 pacman -S --noconfirm --needed virtualbox-host-modules-arch virtualbox
85 pacman -S --noconfirm --needed ${t}
90 if command -v sv; then
91 echo "installing additional runit packages"
92 pacman -S --noconfirm --needed lightdm-runit networkmanager-runit