projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b15124
)
Do not set grub post inst/rm hooks until we have the first kernel there
author
Peter Palfrader
<peter@palfrader.org>
Sun, 5 Apr 2009 15:03:00 +0000
(17:03 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 5 Apr 2009 15:03:00 +0000
(17:03 +0200)
input/howto/install-kvm.creole
patch
|
blob
|
history
diff --git
a/input/howto/install-kvm.creole
b/input/howto/install-kvm.creole
index
5dcfbb4
..
7558a6c
100644
(file)
--- 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
}}}