diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-03 21:11:03 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-12-03 21:11:03 +0000 |
commit | ceec5295a9c09bdaf89b00a8264536d53d451678 (patch) | |
tree | b4d5d43ea18eaa2bb95b6d66139b03335e2082cc /sysutils/grub/files/patch-grub-install | |
parent | . Backport parts of the 1.5 plugin to address plugin vulnerabilities. (diff) |
- Fix grub-install for 5.x and -CURRENT
- Put more useful info into pkg-messages
- Apply a patch from Mandrake for showing
a graphical splashscreen on booting (*)
PR: ports/74478 (*)
Submitted by: Manuel Rabade Garcia <mig(at)mig-29.net> (*)
Notes
Notes:
svn path=/head/; revision=123059
Diffstat (limited to 'sysutils/grub/files/patch-grub-install')
-rw-r--r-- | sysutils/grub/files/patch-grub-install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/grub/files/patch-grub-install b/sysutils/grub/files/patch-grub-install new file mode 100644 index 000000000000..63a2748af3e8 --- /dev/null +++ b/sysutils/grub/files/patch-grub-install @@ -0,0 +1,20 @@ +--- util/grub-install.in.orig Fri Dec 3 23:47:20 2004 ++++ util/grub-install.in Fri Dec 3 23:48:03 2004 +@@ -106,9 +106,16 @@ + gnu*) + tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'` + tmp_part=`echo "$1" | sed "s%$tmp_disk%%"` ;; +- freebsd*) ++ freebsd[234]*) + tmp_disk=`echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%r\1%' \ + | sed 's%r\{0,1\}\(da[0-9]*\).*$%r\1%'` ++ tmp_part=`echo "$1" \ ++ | sed "s%.*/r\{0,1\}[saw]d[0-9]\(s[0-9]*[a-h]\)%\1%" \ ++ | sed "s%.*/r\{0,1\}da[0-9]\(s[0-9]*[a-h]\)%\1%"` ++ ;; ++ freebsd[56]*) ++ tmp_disk=`echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%\1%' \ ++ | sed 's%r\{0,1\}\(da[0-9]*\).*$%\1%'` + tmp_part=`echo "$1" \ + | sed "s%.*/r\{0,1\}[saw]d[0-9]\(s[0-9]*[a-h]\)%\1%" \ + | sed "s%.*/r\{0,1\}da[0-9]\(s[0-9]*[a-h]\)%\1%"` |