- switch to pkg-readmes

This commit is contained in:
jasper 2010-11-08 20:12:13 +00:00
parent 9ef62d28db
commit b1d672ae2a
4 changed files with 7 additions and 12 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.6 2010/10/19 07:43:01 espie Exp $
# $OpenBSD: Makefile,v 1.7 2010/11/08 20:12:13 jasper Exp $
ONLY_FOR_ARCHS= i386
COMMENT= GRand Unified Bootloader
DISTNAME= grub-0.97
REVISION= 2
REVISION= 3
CATEGORIES= sysutils
HOMEPAGE= http://www.gnu.org/software/grub/
@ -27,10 +27,6 @@ USE_GROFF = Yes
CFLAGS= -ftrampolines -fno-stack-protector
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/grub
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${PREFIX}/share/doc/grub
@perl -pi -e "s,%%TRUEPREFIX%%,${TRUEPREFIX}," \
${PREFIX}/share/doc/grub/README.OpenBSD
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/grub
${INSTALL_DATA} ${FILESDIR}/menu.lst ${PREFIX}/share/examples/grub

View File

@ -1,2 +0,0 @@
GRUB needs to be configured and activated before being used. See
${PREFIX}/share/doc/grub/README.OpenBSD for details.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/13 08:29:17 sturm Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/11/08 20:12:13 jasper Exp $
bin/mbchk
@info info/grub.info
@info info/multiboot.info
@ -27,8 +27,7 @@ sbin/grub-install
sbin/grub-md5-crypt
sbin/grub-set-default
sbin/grub-terminfo
share/doc/grub/
share/doc/grub/README.OpenBSD
share/doc/pkg-readmes/${FULLPKGNAME}
share/examples/grub/
share/examples/grub/menu.lst
@sample /grub/

View File

@ -1,3 +1,5 @@
$OpenBSD: README,v 1.1 2010/11/08 20:12:13 jasper Exp $
GRUB's configuration file is /grub/menu.lst which is described in detail
in GRUB's info page. A minimal menu.lst looks like this:
@ -42,7 +44,7 @@ Offset: 0 Signature: 0xAA55
When booting, the kernel will use the disklabel from the first OpenBSD
partition found, therefor grub has to set the partition type of unused
partitions to another value as can be seen in
%%TRUEPREFIX%%/share/examples/grub/menu.lst. The type of the last
${TRUEPREFIX}/share/examples/grub/menu.lst. The type of the last
partition, in this case partition 3, has to stay at 0xa6 in all cases,
otherwise grub won't be able to find its /grub/menu.lst file. This means
you have to install grub in the OpenBSD partition with the largest number.