2008-08-01 Robert Millan <rmh@aybabtu.com>
* util/grub.d/10_linux.in: Use prepare_grub_to_access_device() from within menuentries, not before them. util/grub.d/10_hurd.in: Likewise.
This commit is contained in:
parent
9175e93d11
commit
cdfb3d2273
3 changed files with 15 additions and 6 deletions
|
@ -68,10 +68,11 @@ if ${all_of_them} && test -e /lib/ld.so.1 ; then : ; else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
prepare_grub_to_access_device ${GRUB_DEVICE}
|
||||
|
||||
cat << EOF
|
||||
menuentry "${OS}" {
|
||||
EOF
|
||||
prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/"
|
||||
cat << EOF
|
||||
multiboot ${kernel} root=device:${GRUB_DEVICE}
|
||||
module /hurd/${hurd_fs}.static --readonly \\
|
||||
--multiboot-command-line='\${kernel-command-line}' \\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue