199 |
do |
do |
200 |
[ -f ${i} ] && cp -p ${i} ${BINDIR}/boot/grub || die ${i} |
[ -f ${i} ] && cp -p ${i} ${BINDIR}/boot/grub || die ${i} |
201 |
done |
done |
202 |
|
|
203 |
|
# mcore branding |
204 |
|
mcinjectfile mcore2.xpm /boot/grub/splash.xpm || die |
205 |
|
gzip -9 ${BINDIR}/boot/grub/splash.xpm || die |
206 |
} |
} |
207 |
|
|
208 |
preinstall() |
preinstall() |
229 |
cat > ${MROOT}/boot/grub/grub.conf.example << "EOF" |
cat > ${MROOT}/boot/grub/grub.conf.example << "EOF" |
230 |
default 0 |
default 0 |
231 |
timeout 30 |
timeout 30 |
232 |
|
splashimage (hd0,0)/boot/grub/splash.xpm.gz |
233 |
|
|
234 |
title Magellan-Linux |
title mCore Linux |
235 |
root (hd0,0) |
root (hd0,0) |
236 |
kernel (hd0,0)/boot/bzImage root=/dev/hda1 |
kernel (hd0,0)/boot/bzImage root=/dev/hda1 |
237 |
EOF |
EOF |