summarylogtreecommitdiffstats
path: root/grub-install_aoe_support.patch
diff options
context:
space:
mode:
authorWilken 'Akiko' Gottwalt2021-05-27 09:29:01 +0200
committerWilken 'Akiko' Gottwalt2021-05-27 09:29:01 +0200
commit79b08b2af3a551bcc32dd469ef8b50666c581c14 (patch)
treea5fddf03bc13818aaac4fdeaf41f72ecead86e84 /grub-install_aoe_support.patch
parent7c7ee87e51afb0b166e93fc399d39cf5c0729717 (diff)
downloadaur-79b08b2af3a551bcc32dd469ef8b50666c581c14.tar.gz
updated version to last maintained debian version (77)
Current binutils 2.36+ introduces an odd bug that causes the stage1 and stage2 files to bloat to over 100 MiB. This is not fixed yet.
Diffstat (limited to 'grub-install_aoe_support.patch')
-rw-r--r--grub-install_aoe_support.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/grub-install_aoe_support.patch b/grub-install_aoe_support.patch
new file mode 100644
index 000000000000..fef89aec1c6f
--- /dev/null
+++ b/grub-install_aoe_support.patch
@@ -0,0 +1,23 @@
+Index: b/util/grub-install.in
+===================================================================
+--- a/util/grub-install.in
++++ b/util/grub-install.in
+@@ -148,13 +148,16 @@
+ -e 's%\(d[0-9]*\)p[0-9]*$%\1%' \
+ -e 's%\(fd[0-9]*\)$%\1%' \
+ -e 's%/part[0-9]*$%/disc%' \
+- -e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
++ -e 's%\(c[0-7]d[0-9]*\).*$%\1%' \
++ -e 's%\(e[0-9]\.[0-9]*\).*$%\1%'`
+ tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
+ -e 's%.*d[0-9]*p%%' \
+ -e 's%.*/fd[0-9]*$%%' \
+ -e 's%.*/floppy/[0-9]*$%%' \
+ -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
+- -e 's%.*c[0-7]d[0-9]*p%%'`
++ -e 's%.*c[0-7]d[0-9]*p*%%' \
++ -e 's%.*e[0-9]\.[0-9]*p%%' \
++ -e 's%.*e[0-9]\.[0-9]*\$%%'`
+ ;;
+ gnu*)
+ tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`