diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 11:46:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 11:46:41 +0000 |
commit | 52953ad1ef6850a93ec433cfcd38810433e11a8a (patch) | |
tree | 5c96a8a77dc18378ffd651798ad4604194d560ad /sys-boot/grub/files/ubuntu-upstream-1.98/904_disable_floppies.diff | |
parent | f99e4460b0bd3b9372f57482547e287f12ba6418 (diff) |
drop our grub, use gentoo one
Diffstat (limited to 'sys-boot/grub/files/ubuntu-upstream-1.98/904_disable_floppies.diff')
-rw-r--r-- | sys-boot/grub/files/ubuntu-upstream-1.98/904_disable_floppies.diff | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-boot/grub/files/ubuntu-upstream-1.98/904_disable_floppies.diff b/sys-boot/grub/files/ubuntu-upstream-1.98/904_disable_floppies.diff deleted file mode 100644 index 66a41cdc..00000000 --- a/sys-boot/grub/files/ubuntu-upstream-1.98/904_disable_floppies.diff +++ /dev/null @@ -1,28 +0,0 @@ - -Author: Robert Millan - -An ugly kludge. Should this be merged upstream? - -Index: util/hostdisk.c -=================================================================== ---- util/hostdisk.c (revision 1832) -+++ util/hostdisk.c (working copy) -@@ -544,6 +544,18 @@ - continue; - } - -+ if (! strncmp (p, "/dev/fd", sizeof ("/dev/fd") - 1)) -+ { -+ char *q = p + sizeof ("/dev/fd") - 1; -+ if (*q >= '0' && *q <= '9') -+ { -+ free (map[drive].drive); -+ map[drive].drive = NULL; -+ grub_util_info ("`%s' looks like a floppy drive, skipping", p); -+ continue; -+ } -+ } -+ - #ifdef __linux__ - /* On Linux, the devfs uses symbolic links horribly, and that - confuses the interface very much, so use realpath to expand |