Magellan Linux

Diff of /alx-src/trunk/alxinstall-ng/bin/alxinstall-ng.sh.in

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

revision 6817 by niro, Thu Jul 23 08:48:15 2015 UTC revision 6820 by niro, Thu Jul 23 08:54:42 2015 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  #  # $Id$
 # $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.15 2008-06-28 00:37:45 niro Exp $  
 #  
 # AutoSta_LX Installation Script  
 #  
 # Niels Rogalla <niro@magellan-linux.de>  
 # <rogalla@augusta-bochum.de>  
 #  
 #  
 # Install Navigation Gui  
 #  
3    
4  # ignore environment!  # ignore environment!
5  LC_ALL=C  LC_ALL=C
# Line 23  source /mnt/cdrom/system/images.conf Line 13  source /mnt/cdrom/system/images.conf
13  source ${MLIBDIR}/functions/hwdetection.sh  source ${MLIBDIR}/functions/hwdetection.sh
14    
15  ### System/Config Version  ### System/Config Version
16  VERSION="%VERSIONTAG%"  VERSION="@@VERSION@@"
17  TITLE="alxinstall-ng - ${VERSION}"  TITLE="alxinstall-ng - ${VERSION}"
18    
19  CDPATH="/mnt/cdrom"  CDPATH="/mnt/cdrom"
20  INSTALLPATH="/mnt/magellan"  INSTALLPATH="/mnt/magellan"
21    
22  ### WICHTIG: anzahl lines in der autosta_lx.tar.gz -1  ### linecount of system.tar.gz -1 !
23  CURRENTLINE=0  CURRENTLINE=0
24  #TOTALLINES=11072 # -> now in images.conf  #TOTALLINES=11072 # -> now in images.conf
25    
# Line 52  FORMFACTOR="desktop" Line 42  FORMFACTOR="desktop"
42  FORMAT_FILESYSTEM="ext4"  FORMAT_FILESYSTEM="ext4"
43    
44  #################################################  #################################################
45  #  DIALOG BOXEN #  #  DIALOG BOXES #
46  #################################################  #################################################
47    
48  die()  die()
# Line 432  dialog_main() Line 422  dialog_main()
422  }  }
423    
424  #################################################  #################################################
425  # Install Komandos #  # Install Commands #
426  #################################################  #################################################
427  run_hardware_detection()  run_hardware_detection()
428  {  {
# Line 747  install_bootsector_chroot() Line 737  install_bootsector_chroot()
737   echo "initrd /boot/${KRNINITRD}" >> ${grubconf} || die   echo "initrd /boot/${KRNINITRD}" >> ${grubconf} || die
738   fi   fi
739    
740   # bootsector schreiben chrooted schreiben (lfs/magellan)   # write bootsector chrooted (lfs/magellan)
741   cat > ${INSTALLPATH}/root/.installrc << CHROOTEOF   cat > ${INSTALLPATH}/root/.installrc << CHROOTEOF
742  /usr/sbin/grub --no-floppy --batch << "EOF" 1> /dev/null 2> /dev/null  /usr/sbin/grub --no-floppy --batch << "EOF" 1> /dev/null 2> /dev/null
743  root (hd0,0)  root (hd0,0)
# Line 897  install_system_settings() Line 887  install_system_settings()
887    
888  install_system_settings_simple()  install_system_settings_simple()
889  {  {
890   # schreibe fstab   # write fstab
891   if is_uuid_supported   if is_uuid_supported
892   then   then
893   echo -e "UUID=$(get_uuid ${ROOTHDD})\t/\t${FORMAT_FILESYSTEM}\tnoatime\t0 0" > ${INSTALLPATH}/etc/fstab || die   echo -e "UUID=$(get_uuid ${ROOTHDD})\t/\t${FORMAT_FILESYSTEM}\tnoatime\t0 0" > ${INSTALLPATH}/etc/fstab || die
# Line 928  install_do_reboot() Line 918  install_do_reboot()
918  }  }
919    
920  #################################################  #################################################
921  #     Install Ablauf Scripte #  #     Install Main Scripts #
922  #################################################  #################################################
923    
924  run_install_normal()  run_install_normal()

Legend:
Removed from v.6817  
changed lines
  Added in v.6820