OSDN Git Service

started chroot script
[instantos/instantARCH.git] / archinstall.sh
1 #!/bin/bash
2
3 # main script calling others
4
5 # DO NOT USE, NOT READY YET
6
7 # check for internet
8 if ! ping -c 1 google.com &>/dev/null; then
9     echo "no internet"
10     exit
11 fi
12
13 # print logo
14 curl -s 'https://raw.githubusercontent.com/instantOS/instantLOGO/master/ascii.txt'
15
16 # install dependencies
17
18 pacman -Syu --noconfirm
19 pacman -S fzf --noconfirm
20 pacman -S sdisk --noconfirm
21 pacman -S expect --noconfirm
22 pacman -S git --noconfirm
23
24 cd /root
25 git clone --depth=1 https://github.com/instantos/instantARCH.git
26 cd instantARCH
27
28 chmod +x *.sh
29 chmod +x **/*.sh
30
31 ./lang/keyboard.sh
32 ./init/init.sh
33 ./disk/disk.sh
34 ./pacstrap/pacstrap.sh