Magellan Linux

Diff of /trunk/installer-simple/bin/installer.sh.in

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

revision 2483 by niro, Wed Jan 8 10:36:44 2014 UTC revision 2484 by niro, Wed Jan 8 10:38:40 2014 UTC
# Line 100  install_meter() Line 100  install_meter()
100   return 0   return 0
101  }  }
102    
103    install_mount_rootfs()
104    {
105     is_mounted --location "${INSTALLROOT}" || mount "${ROOTHDD}" "${INSTALLROOT}"
106     install -d ${INSTALLROOT}/boot || dialog_die
107    }
108    
109    install_umount_rootfs()
110    {
111     is_mounted --location ${INSTALLROOT}/boot && umount ${INSTALLROOT}/boot
112     is_mounted --location ${INSTALLROOT} && umount ${INSTALLROOT}
113    }
114    
115    install_do_reboot()
116    {
117     reboot
118    }
119    
120  run_hardware_detection()  run_hardware_detection()
121  {  {
122   local hwinfo   local hwinfo
# Line 262  setup_hdd_format() Line 279  setup_hdd_format()
279   mkfs."${FORMAT_FILESYSTEM}" -q "${ROOTHDD}" || dialog_die   mkfs."${FORMAT_FILESYSTEM}" -q "${ROOTHDD}" || dialog_die
280  }  }
281    
 install_mount_rootfs()  
 {  
  is_mounted --location "${INSTALLROOT}" || mount "${ROOTHDD}" "${INSTALLROOT}"  
  install -d ${INSTALLROOT}/boot || dialog_die  
 }  
   
282  install_system_image()  install_system_image()
283  {  {
284   pushd ${INSTALLROOT} > /dev/null   pushd ${INSTALLROOT} > /dev/null
# Line 309  install_system_settings() Line 320  install_system_settings()
320   fi   fi
321  }  }
322    
 install_umount_rootfs()  
 {  
  is_mounted --location ${INSTALLROOT}/boot && umount ${INSTALLROOT}/boot  
  is_mounted --location ${INSTALLROOT} && umount ${INSTALLROOT}  
 }  
   
 install_do_reboot()  
 {  
  reboot  
 }  
   
323    
324  ### installer dialogs ###  ### installer dialogs ###
325    

Legend:
Removed from v.2483  
changed lines
  Added in v.2484