Bug#393488: update-grub does not handle separate /boot partition for xen

Loïc Minier lool at dooz.org
Thu Nov 9 10:48:28 CET 2006


        Hi,

> > update-grub always prepends /boot in front of the kernel line for xen even if /boot is on its on partition
> Commited. I've did a brief look and GRUB2 doesn't has this
> problem. :-)

 The attached patch seems saner to me.  Please consider reverting the
 first patch in favor of this one.

  Bye,
-- 
Loïc Minier <lool at dooz.org>
-------------- next part --------------
--- grub-0.97/debian/update-grub
+++ grub-0.97/debian/update-grub
@@ -995,7 +995,7 @@
 
 	found=
 	for hypervisorVersion in $hypervisorVersions; do
-		hypervisor="/boot/xen-$hypervisorVersion.gz"
+		hypervisor="$kernel_dir/xen-$hypervisorVersion.gz"
 		if [ -e "$hypervisor" ]; then
 			found=1
 


More information about the Pkg-grub-devel mailing list