Get the VirtualBox image generation to work again

This commit is contained in:
Eelco Dolstra 2013-01-24 16:42:37 +01:00
parent f0a1e5e356
commit 001ddd1799

View file

@ -68,6 +68,7 @@ with pkgs.lib;
ln -s ${config.system.build.binsh}/bin/sh /mnt/bin/sh
# Generate the GRUB menu.
ln -s vda /dev/sda
chroot /mnt ${config.system.build.toplevel}/bin/switch-to-configuration boot
umount /mnt/proc /mnt/dev /mnt/sys