Bug#478006: kernel_dir dropped within script

Juergen Kosel juergen.kosel at gmx.de
Sat Apr 26 16:07:52 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

in /usr/sbin/update-grub I have found around line 140:

# figure out where grub looks for the kernels at boot time
kernel_dir=/boot
if [ "$boot_device" != "$root_device" ] ; then
	kernel_dir=
fi


So for my machine the kernel_dir is correct in the beginning.
But then the script makes the assumption that /boot is the mount
directory of the boot_device.
But at least for machine this assumption is false.

So there is the question:
Should I change my machine to match this assumption?
Or is it possible to modify the script so, that it verifies this assumption?


Greetings
	Juergen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIE1NY5JgLPmj5988RAmzhAJ9WfZSuV65N9a9T39XsHtk8OkYrgQCg8KjR
bDG5b+V+w8D+VpF4KqsCKds=
=ruu2
-----END PGP SIGNATURE-----





More information about the Pkg-grub-devel mailing list