Magellan Linux

Diff of /trunk/installer/ncurses-gui/install.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1034 by niro, Sun May 30 18:29:43 2010 UTC revision 1068 by niro, Mon May 31 22:17:52 2010 UTC
# Line 2  Line 2 
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    
 # 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   ${INSTALLER_DIR}/include/prepare_disks.sh --format | gauge "Installing" "Formating disks..." 10 70   # create an empty installer log
24   ${INSTALLER_DIR}/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   ${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  # 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  
 # }  

Legend:
Removed from v.1034  
changed lines
  Added in v.1068