2008-06-21 Robert Millan <rmh@aybabtu.com>

* util/grub.d/00_header.in: Move last prepare_grub_to_access_device()
        call from here ...

        * util/grub.d/10_hurd.in: ... to here ...
        * util/grub.d/10_linux.in: ... and here.
This commit is contained in:
robertmh 2008-06-21 13:51:19 +00:00
parent 650e1c79b9
commit 76a2bd44b3
4 changed files with 14 additions and 3 deletions

View file

@ -97,6 +97,10 @@ list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done`
if [ "x$list" != "x" ] ; then
prepare_grub_to_access_device ${GRUB_DEVICE_BOOT}
fi
while [ "x$list" != "x" ] ; do
linux=`find_latest $list`
echo "Found linux image: $linux" >&2