2 |
|
|
3 |
system_setup() |
system_setup() |
4 |
{ |
{ |
5 |
${INSTALLER_DIR}/include/prepare_auth.sh &> /dev/null |
${INSTALLER_DIR}/include/prepare_auth.sh &>> ${INSTALLER_LOG} |
6 |
echo 25 |
echo 25 |
7 |
|
|
8 |
${INSTALLER_DIR}/include/prepare_networking.sh &> /dev/null |
${INSTALLER_DIR}/include/prepare_locale.sh &>> ${INSTALLER_LOG} |
9 |
echo 50 |
echo 50 |
10 |
|
|
11 |
${INSTALLER_DIR}/include/prepare_fstab.sh &> /dev/null |
${INSTALLER_DIR}/include/prepare_networking.sh &>> ${INSTALLER_LOG} |
12 |
|
echo 65 |
13 |
|
|
14 |
|
${INSTALLER_DIR}/include/prepare_fstab.sh &>> ${INSTALLER_LOG} |
15 |
echo 75 |
echo 75 |
16 |
|
|
17 |
${INSTALLER_DIR}/include/prepare_initrd.sh &> /dev/null |
${INSTALLER_DIR}/include/prepare_initrd.sh &>> ${INSTALLER_LOG} |
18 |
echo 100 |
echo 100 |
19 |
} |
} |
20 |
|
|
21 |
main_install() |
main_install() |
22 |
{ |
{ |
23 |
|
# create an empty installer log |
24 |
|
${INSTALLER_DIR}/include/install_log.sh --prepare |
25 |
|
|
26 |
${INSTALLER_DIR}/include/prepare_disks.sh --format --ncurses | gauge "Installing" "Formating disks..." 10 70 |
${INSTALLER_DIR}/include/prepare_disks.sh --format --ncurses | gauge "Installing" "Formating disks..." 10 70 |
27 |
${INSTALLER_DIR}/include/prepare_disks.sh --mount |
${INSTALLER_DIR}/include/prepare_disks.sh --mount &>> ${INSTALLER_LOG} |
28 |
|
|
29 |
${INSTALLER_DIR}/include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system..." 10 70 |
${INSTALLER_DIR}/include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system..." 10 70 |
30 |
|
|
31 |
system_setup | gauge "Installing" "Setup system settings..." 10 70 |
system_setup | gauge "Installing" "Setup system settings..." 10 70 |
32 |
${INSTALLER_DIR}/include/prepare_bootloader.sh | gauge "Installing" "Installing Bootloader..." 10 70 |
${INSTALLER_DIR}/include/prepare_bootloader.sh | gauge "Installing" "Installing Bootloader..." 10 70 |
33 |
|
|
34 |
${INSTALLER_DIR}/include/prepare_disks.sh --umount |
# copy install log to install root |
35 |
|
${INSTALLER_DIR}/include/install_log.sh --copy |
36 |
|
|
37 |
|
${INSTALLER_DIR}/include/prepare_disks.sh --umount &>> ${INSTALLER_LOG} |
38 |
} |
} |