Magellan Linux

Diff of /tags/installer-0_1_2/include/prepare_bootloader.sh

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

revision 1028 by niro, Sun May 30 17:50:47 2010 UTC revision 1035 by niro, Sun May 30 18:37:54 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Id$  # $Id$
3    
4  source include/hwdetection.sh  source /etc/installer.conf
5    source ${INSTALLER_DIR}/include/hwdetection.sh
6    
7  : ${INSTALL_ROOT="/mnt/magellan"}  : ${INSTALL_ROOT="/mnt/magellan"}
8    
# Line 83  create_grub_conf() Line 84  create_grub_conf()
84   splashimage="magellan.xpm.gz"   splashimage="magellan.xpm.gz"
85    
86   # forcefully use gfxsplash   # forcefully use gfxsplash
87   [[ ! -f ${INSTALL_ROOT}/boot/${splashimage} ]] && cp data/magellan-black2.xpm.gz ${INSTALL_ROOT}/boot/${splashimage}   [[ ! -f ${INSTALL_ROOT}/boot/${splashimage} ]] && cp ${INSTALLER_DIR}/data/magellan-black2.xpm.gz ${INSTALL_ROOT}/boot/${splashimage}
88    
89   if [[ -f ${INSTALL_ROOT}/boot/${splashimage} ]]   if [[ -f ${INSTALL_ROOT}/boot/${splashimage} ]]
90   then   then
91   add_grub_conf "# splash image"   add_grub_conf "# splash image"
  # old logo  
  #add_grub_conf "splashimage /boot/magellan.xpm.gz"  
  #add_grub_conf "foreground FFFFFF"  
  #add_grub_conf "background 1B456B"  
   
  # the new one  
92   add_grub_conf "splashimage $(convert_device ${PARTITION_DISK_BOOT})/boot/${splashimage}"   add_grub_conf "splashimage $(convert_device ${PARTITION_DISK_BOOT})/boot/${splashimage}"
93   add_grub_conf "foreground FFFFFF"   add_grub_conf "foreground FFFFFF"
94   add_grub_conf "background 253861"   add_grub_conf "background 253861"

Legend:
Removed from v.1028  
changed lines
  Added in v.1035