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 |
|
|
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 |
117 |
|
|
118 |
install_bootloader() |
install_bootloader() |
119 |
{ |
{ |
120 |
create_device_map >&2 |
create_device_map &> /dev/null |
121 |
echo 25 |
echo 25 |
122 |
create_grub_conf >&2 |
create_grub_conf &> /dev/null |
123 |
echo 50 |
echo 50 |
124 |
install_grub >&2 |
install_grub &> /dev/null |
125 |
echo 100 |
echo 100 |
126 |
} |
} |
127 |
|
|