diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-08-19 06:23:27 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-08-19 06:23:27 +0000 |
commit | d7f26a758e092bd5b9281b93d893d190adb6f7f6 (patch) | |
tree | 42e454ac528b313458716427e50fb1d00f8a3a36 /sys-apps/grub | |
parent | new /boot layout fix (diff) | |
download | gentoo-2-d7f26a758e092bd5b9281b93d893d190adb6f7f6.tar.gz gentoo-2-d7f26a758e092bd5b9281b93d893d190adb6f7f6.tar.bz2 gentoo-2-d7f26a758e092bd5b9281b93d893d190adb6f7f6.zip |
the missing diff
Diffstat (limited to 'sys-apps/grub')
-rw-r--r-- | sys-apps/grub/files/grub-0.5.96.1-r4-gentoo.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/grub/files/grub-0.5.96.1-r4-gentoo.diff b/sys-apps/grub/files/grub-0.5.96.1-r4-gentoo.diff new file mode 100644 index 000000000000..d6ab35101f80 --- /dev/null +++ b/sys-apps/grub/files/grub-0.5.96.1-r4-gentoo.diff @@ -0,0 +1,15 @@ +diff -ur grub-0.5.96.1.orig/util/grub-install.in grub-0.5.96.1/util/grub-install.in +--- grub-0.5.96.1.orig/util/grub-install.in Mon Oct 16 14:42:36 2000 ++++ grub-0.5.96.1/util/grub-install.in Wed Aug 1 13:41:03 2001 +@@ -76,9 +76,9 @@ + # Break the device name into the disk part and the partition part. + case "$host_os" in + linux*) +- tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' ++ tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \ + -e 's%/part[0-9]*$%/disc%'` +- tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' ++ tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \ + -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'` + ;; + gnu*) |