* util/grub-install.in: Fix hardcoded /dev/hda1.
This commit is contained in:
parent
86d5582ec2
commit
d6f4c1c620
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-04-06 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* util/grub-install.in: Fix hardcoded /dev/hda1.
|
||||||
|
|
||||||
2002-04-06 Yoshinori K. Okuji <okuji@enbug.org>
|
2002-04-06 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* stage2/builtins.c [GRUB_UTIL] (dump_func): New function.
|
* stage2/builtins.c [GRUB_UTIL] (dump_func): New function.
|
||||||
|
|
|
@ -193,7 +193,7 @@ find_device () {
|
||||||
|
|
||||||
# Resolve symlinks
|
# Resolve symlinks
|
||||||
while test -L $tmp_fname; do
|
while test -L $tmp_fname; do
|
||||||
tmp_new_fname=`ls -al /dev/hda1 | sed -n 's%.*-> %\1%p'`
|
tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> %\1%p'`
|
||||||
if test -z "$tmp_new_fname"; then
|
if test -z "$tmp_new_fname"; then
|
||||||
echo "Unrecognized ls output" 2>&1
|
echo "Unrecognized ls output" 2>&1
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue