Bug#397021: My patch

Jamie ffolliott jamieff at inline.net
Tue Nov 7 17:53:06 CET 2006


Package: grub
Version: 0.97-18

Here's a patch:

--- update-grub.real.orig       2006-11-07 11:26:54.000000000 -0500
+++ update-grub.real    2006-11-07 11:31:26.000000000 -0500
@@ -1000,10 +1000,11 @@ for kern in $xenKernels ; do
                        found=1

                        echo "Found Xen hypervisor $hypervisorVersion,
kernel: $kernel"
+                       hypervisor=`basename "$hypervisor"`

                        write_kernel_entry "$kernelVersion" '' ''
"$grub_root_device" \
                          "$kernel" "$currentOpt $xenkopt" '' "$initrd" true
'' \
-                         Xen "$hypervisor" "$hypervisorVersion" "$xenhopt"
+                         Xen "$kernel_dir/$hypervisor" "$hypervisorVersion"
"$xenhopt"
                fi
        done





More information about the Pkg-grub-devel mailing list