summaryrefslogtreecommitdiff
path: root/pcr/grub-legacy/special-devices.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-07-20 01:08:02 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-07-20 01:08:02 -0500
commitcc8dc3bdd34043fc1db65bd5d6059f071b6f1c78 (patch)
treed6b1298c7bbcdded9b9e7b6fae0862e18e990697 /pcr/grub-legacy/special-devices.patch
parent6e7924eb6dcdb1d3f42904468a06ac1d7871c8af (diff)
downloadabslibre-cc8dc3bdd34043fc1db65bd5d6059f071b6f1c78.tar.gz
abslibre-cc8dc3bdd34043fc1db65bd5d6059f071b6f1c78.tar.bz2
abslibre-cc8dc3bdd34043fc1db65bd5d6059f071b6f1c78.zip
Removing grub-legacy
Diffstat (limited to 'pcr/grub-legacy/special-devices.patch')
-rw-r--r--pcr/grub-legacy/special-devices.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/pcr/grub-legacy/special-devices.patch b/pcr/grub-legacy/special-devices.patch
deleted file mode 100644
index 894f3e887..000000000
--- a/pcr/grub-legacy/special-devices.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- grub-0.93/lib/device.c.raid 2002-05-20 05:53:46.000000000 -0400
-+++ grub-0.93/lib/device.c 2002-12-28 23:24:10.000000000 -0500
-@@ -689,7 +689,14 @@
- if (strcmp (dev + strlen(dev) - 5, "/disc") == 0)
- strcpy (dev + strlen(dev) - 5, "/part");
- }
-- sprintf (dev + strlen(dev), "%d", ((partition >> 16) & 0xFF) + 1);
-+
-+ sprintf (dev + strlen(dev), "%s%d",
-+ /* Compaq smart and others */
-+ (strncmp(dev, "/dev/ida/", 9) == 0 ||
-+ strncmp(dev, "/dev/ataraid/", 13) == 0 ||
-+ strncmp(dev, "/dev/cciss/", 11) == 0 ||
-+ strncmp(dev, "/dev/rd/", 8) == 0) ? "p" : "",
-+ ((partition >> 16) & 0xFF) + 1);
-
- /* Open the partition. */
- fd = open (dev, O_RDWR);