OSDN Git Service

add postinstall
[instantos/instantARCH.git] / systeminstall.sh
1 #!/bin/bash
2
3 rcd() {
4     cd /root/instantARCH
5 }
6
7 escript() {
8     rcd
9     ./$1.sh
10     echo "$1" >>/tmp/instantprogress
11 }
12
13 # scripts executed in installed environment
14 chrootscript() {
15     rcd
16     ./chrootscript.sh "$1.sh"
17     echo "chroot: $1" >>/tmp/instantprogress
18 }
19
20 chrootscript "depend/depend"
21 chrootscript "depend/depend"
22 chrootscript "depend/system"
23 chrootscript "chroot/chroot"
24 chrootscript "chroot/drivers"
25 chrootscript "lang/timezone"
26
27 # grub: install package, install, generate config
28 escript bootloader/install
29 chrootscript "bootloader/config"
30
31 chrootscript "user/user"
32 chrootscript "network/network"