* Create /boot/grub.

svn path=/nixu/trunk/; revision=7119
This commit is contained in:
Eelco Dolstra 2006-11-24 15:31:28 +00:00
parent f4dc05da97
commit 9d1be4d54f

View File

@ -17,6 +17,7 @@ cat > $out/bin/switch-to-configuration <<EOF
set -e
export PATH=$coreutils/bin:$gnused/bin:$gnugrep/bin:$diffutils/bin
if test -n "$grubDevice"; then
mkdir -m 0700 -p /boot/grub
$grubMenuBuilder $out
$grub/sbin/grub-install "$grubDevice" --no-floppy --recheck
fi