3 # main script calling others
5 # DO NOT USE, NOT READY YET
8 if ! ping -c 1 google.com &>/dev/null; then
14 curl -s 'https://raw.githubusercontent.com/instantOS/instantLOGO/master/ascii.txt'
17 echo "selecting fastest mirror"
19 pacman -Sy --noconfirm
20 pacman -S reflector --noconfirm
21 reflector --sort rate --save /etc/pacman.d/mirrorlist
23 # install dependencies
24 pacman -Sy --noconfirm
25 pacman -S git --noconfirm
28 git clone --depth=1 https://github.com/instantos/instantARCH.git
47 escript pacstrap/pacstrap
49 # scripts executed in installed environment
52 ./chrootscript.sh "$1.sh"
55 chrootscript "depend/depend"
56 chrootscript "depend/system"
57 chrootscript "chroot/chroot"
58 chrootscript "chroot/drivers"
59 chrootscript "lang/timezone"
61 # grub: install package, install, generate config
62 chrootscript "bootloader/bootloader"
63 escript bootloader/install
64 chrootscript "bootloader/config"
66 chrootscript "user/user"
67 chrootscript "network/network"
69 echo "done installing arch linux"