Bug#558042: sugesting another patch
Matthias Dellweg
2500 at gmx.de
Fri Nov 27 13:15:28 UTC 2009
since grub-mkrelpath works correct on files (they cannot be mountpoints, right?) I would sugest to try the following patch. Sadly I cannot test it until this evening.
--- 10_linux 2009-11-25 19:41:40.000000000 +0100
+++ 09_linux 2009-11-27 14:03:04.000000000 +0100
@@ -87,7 +87,9 @@ while [ "x$list" != "x" ] ; do
echo "Found linux image: $linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`
- rel_dirname=`make_system_path_relative_to_its_root $dirname`
+ rel_linux=`make_system_path_relative_to_its_root $linux`
+# rel_dirname=`make_system_path_relative_to_its_root $dirname`
+ rel_dirname=`dirname $rel_linux`
version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
More information about the Pkg-grub-devel
mailing list