mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
fix a floppy handling bug in grub-install.
This commit is contained in:
1 parent
8593e88271
commit
29aa359512
3 files changed
+9
No files matched your search
@@ -80,6 +80,8 @@ convert () {
|
||||
-e 's%/part[0-9]*$%/disc%'`
|
||||
tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
|
||||
-e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'`
|
||||
# floppy drives don't have partitions:
|
||||
tmp_part=`echo "$tmp_part" | sed -e 's%.*/fd[0-9]*%%'`
|
||||
;;
|
||||
gnu*)
|
||||
tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`
|
||||
|
||||
Reference in new issue
Block a user