Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jul 2008 22:10:01 -0000
From:      "Pietro Cerutti" <gahr@FreeBSD.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/125199: [patch] sysutils/grub add support for FreeBSD 8.x
Message-ID:  <1202425590.1708@gahrtop.localhost>
Resent-Message-ID: <200807022210.m62MA0Ds090613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125199
>Category:       ports
>Synopsis:       [patch] sysutils/grub add support for FreeBSD 8.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 02 22:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
The FreeBSD Project 
>Environment:


System: FreeBSD 8.0-CURRENT #0: Tue Jul  1 22:31:16 CEST 2008
    root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034



>Description:


grub-install reports "operating system not supported" on current.


>How-To-Repeat:





>Fix:


--- grub.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/grub/Makefile,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile
--- Makefile	30 Sep 2007 04:47:26 -0000	1.27
+++ Makefile	7 Feb 2008 23:02:37 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	grub
 PORTVERSION=	0.97
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://alpha.gnu.org/gnu/grub/
 
Index: files/patch-grub-install
===================================================================
RCS file: /home/pcvs/ports/sysutils/grub/files/patch-grub-install,v
retrieving revision 1.3
diff -u -u -r1.3 patch-grub-install
--- files/patch-grub-install	11 Nov 2005 06:39:20 -0000	1.3
+++ files/patch-grub-install	2 Jul 2008 16:56:33 -0000
@@ -12,7 +12,7 @@
 +	    | 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[567]*)
++    freebsd[5678]*)
 +	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" \
--- grub.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1202425590.1708>