[...] > > Would you mind doing that *now*? Well, probably it suffices if you just > replace > 10-setup with the attached version. The code in stable (and trunk) is known to > work only in very simple cases, but proper testing of our experimental > versions > will help in getting the patches merged. BTW: No, this is not "my" branch, > it's > open to everyone, it just so happens that until now most of the stuff has been > committed by myself. But it should be very easy to grab the experimental > builds, > as described here: > > http://wiki.fai-project.org/index.php/Main_Page#getting_FAI >
Sorry, I forgot to actually attach 10-setup, as I had promised. Here it is. Best, Michael
#! /bin/bash
error=0 ; trap "error=$((error|1))" ERR
set -a
# during softupdate use this file
[ -r $LOGDIR/disk_var.sh ] && . $LOGDIR/disk_var.sh
[ -z "$BOOT_DEVICE" ] && exit 701
$ROOTCMD grub-mkdevicemap --no-floppy
for device in $BOOT_DEVICE; do
grub_dev=$(device2grub $device)
if [ -z "$grub_dev" ] ; then
grub_dev=$(echo $device | sed 's#^/dev/##')
grub_dev="($grub_dev)"
fi
$ROOTCMD /usr/sbin/grub-install --no-floppy --modules="lvm raid" "$grub_dev"
done
$ROOTCMD update-grub
exit $error
pgp1S4qYbK3Qp.pgp
Description: PGP signature
