From: Peter Palfrader Date: Sun, 5 Apr 2009 15:03:00 +0000 (+0200) Subject: Do not set grub post inst/rm hooks until we have the first kernel there X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=3f48bba8aed7e3fecf61af34fab8f8e49cca9646;p=mirror%2Fdsa-wiki.git Do not set grub post inst/rm hooks until we have the first kernel there --- diff --git a/input/howto/install-kvm.creole b/input/howto/install-kvm.creole index 5dcfbb4..7558a6c 100644 --- a/input/howto/install-kvm.creole +++ b/input/howto/install-kvm.creole @@ -127,10 +127,12 @@ EOF do_symlinks = yes link_in_boot = yes do_initrd = yes +EOF + chroot . apt-get install linux-image-2.6-amd64 && + cat >> etc/kernel-img.conf << EOF postinst_hook = /usr/sbin/update-grub postrm_hook = /usr/sbin/update-grub EOF - chroot . apt-get install linux-image-2.6-amd64 }}}