Magellan Linux

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

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

revision 2435 by niro, Tue Jan 7 14:23:24 2014 UTC revision 2436 by niro, Tue Jan 7 14:25:34 2014 UTC
# Line 569  exit 0 Line 569  exit 0
569  CHROOTEOF  CHROOTEOF
570   fi   fi
571    
572   ## enter chroot   # run installrc
573   mount -t proc proc ${INSTALLROOT}/proc   chrooted /bin/bash --rcfile /root/.installrc -i
  mount -t sysfs sysfs ${INSTALLROOT}/sys  
  mount -o bind /dev ${INSTALLROOT}/dev  
  chroot ${INSTALLROOT} /bin/bash --rcfile /root/.installrc -i  
  umount ${INSTALLROOT}/proc  
  umount ${INSTALLROOT}/sys  
  umount ${INSTALLROOT}/dev  
574   rm ${INSTALLROOT}/root/.installrc   rm ${INSTALLROOT}/root/.installrc
575  }  }
576    
# Line 629  mkinitrd -f /boot/$(readlink /boot/initr Line 623  mkinitrd -f /boot/$(readlink /boot/initr
623  exit 0  exit 0
624  CHROOTEOF  CHROOTEOF
625    
626   ## enters chroot   # run installrc
627   mount -t proc proc ${INSTALLROOT}/proc   chrooted /bin/bash --rcfile /root/.installrc -i
  mount -t sysfs sysfs ${INSTALLROOT}/sys  
  mount -o bind /dev ${INSTALLROOT}/dev  
  chroot ${INSTALLROOT} /bin/bash --rcfile /root/.installrc -i  
  umount ${INSTALLROOT}/proc  
  umount ${INSTALLROOT}/sys  
  umount ${INSTALLROOT}/dev  
628   rm ${INSTALLROOT}/root/.installrc   rm ${INSTALLROOT}/root/.installrc
629  }  }
630    

Legend:
Removed from v.2435  
changed lines
  Added in v.2436