2 |
|
|
3 |
system_setup() |
system_setup() |
4 |
{ |
{ |
5 |
include/prepare_auth.sh &> /dev/null |
${INSTALLER_DIR}/include/prepare_auth.sh &>> ${INSTALLER_LOG} |
6 |
echo 25 |
echo 25 |
7 |
|
|
8 |
include/prepare_networking.sh &> /dev/null |
${INSTALLER_DIR}/include/prepare_locale.sh &>> ${INSTALLER_LOG} |
9 |
echo 50 |
echo 50 |
10 |
|
|
11 |
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 |
include/prepare_initrd.sh &> /dev/null |
${INSTALLER_DIR}/include/prepare_initrd.sh &>> ${INSTALLER_LOG} |
18 |
echo 100 |
echo 100 |
19 |
} |
} |
20 |
|
|
|
# fake_process() |
|
|
# { |
|
|
# sleep 1 |
|
|
# #echo 25 |
|
|
# echo -e "\nXXX\nNew Message\nXXX\n25" |
|
|
# |
|
|
# sleep 1 |
|
|
# #echo 50 |
|
|
# echo -e "\nXXX\nNew Message2\nXXX\n50" |
|
|
# |
|
|
# sleep 1 |
|
|
# #echo 75 |
|
|
# echo -e "\nXXX\nNew Message3\nXXX\n75" |
|
|
# |
|
|
# sleep 1 |
|
|
# echo 100 |
|
|
# } |
|
|
|
|
21 |
main_install() |
main_install() |
22 |
{ |
{ |
23 |
include/prepare_disks.sh --format | gauge "Installing" "Formating disks..." 10 70 |
# create an empty installer log |
24 |
include/prepare_disks.sh --mount |
${INSTALLER_DIR}/include/install_log.sh --prepare |
25 |
|
|
26 |
|
${INSTALLER_DIR}/include/prepare_disks.sh --format --ncurses | gauge "Installing" "Formating disks..." 10 70 |
27 |
|
${INSTALLER_DIR}/include/prepare_disks.sh --mount &>> ${INSTALLER_LOG} |
28 |
|
|
29 |
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 |
include/prepare_bootloader.sh | gauge "Installing" "Installing Bootloader..." 10 70 |
${INSTALLER_DIR}/include/prepare_bootloader.sh | gauge "Installing" "Installing Bootloader..." 10 70 |
33 |
|
|
34 |
include/prepare_disks.sh --umount |
# copy install log to install root |
35 |
} |
${INSTALLER_DIR}/include/install_log.sh --copy |
36 |
|
|
37 |
# main_install() |
${INSTALLER_DIR}/include/prepare_disks.sh --umount &>> ${INSTALLER_LOG} |
38 |
# { |
} |
|
# fake_process | gauge "Installing" "Formating disks..." 10 70 |
|
|
# fake_process | gauge "Installing" "Installing system..." 10 70 |
|
|
# fake_process | gauge "Installing" "Setup system settings..." 10 70 |
|
|
# fake_process | gauge "Installing" "Installing Bootloader..." 10 70 |
|
|
# |
|
|
# include/bootstrap-wrapper.sh --ncurses | gauge "Installing" "Installing system...\n\n" 10 70 |
|
|
# } |
|