summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ostrow <dostrow@gentoo.org>2004-05-24 17:54:53 +0000
committerDaniel Ostrow <dostrow@gentoo.org>2004-05-24 17:54:53 +0000
commitd15ce17172596a9438ad19c06012484583e11704 (patch)
treea295f55636f0787094a4f23df6df1c03fc80ec75 /sys-boot
parentI take it back (diff)
downloadhistorical-d15ce17172596a9438ad19c06012484583e11704.tar.gz
historical-d15ce17172596a9438ad19c06012484583e11704.tar.bz2
historical-d15ce17172596a9438ad19c06012484583e11704.zip
Added case statement
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/yaboot/ChangeLog7
-rw-r--r--sys-boot/yaboot/Manifest4
-rw-r--r--sys-boot/yaboot/yaboot-1.3.12-r1.ebuild14
3 files changed, 20 insertions, 5 deletions
diff --git a/sys-boot/yaboot/ChangeLog b/sys-boot/yaboot/ChangeLog
index 90ebcfc538b4..40111fde316b 100644
--- a/sys-boot/yaboot/ChangeLog
+++ b/sys-boot/yaboot/ChangeLog
@@ -1,10 +1,13 @@
# ChangeLog for sys-boot/yaboot
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.7 2004/05/23 18:03:57 dostrow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/ChangeLog,v 1.8 2004/05/24 17:54:53 dostrow Exp $
*yaboot-1.3.12-r1 (23 May 2004)
- 23 May 2004; Daniel Ostrow <dostrow@gentoo.org> yaboot-1.3.12-r1.ebuild,
+ 24 May 2004; Daniel Ostrow <dostrow@gentoo.org> yaboot-1.3.12-r1.ebuild:
+ Added case statement to check running kernel at install time.
+
+ 23 May 2004; Daniel Ostrow <dostrow@gentoo.org> yaboot-1.3.12-r1.ebuild:
files/yaboot-3.4.patch
files/yaboot-k2sata-ofpath.patch
Fixes compile issues with gcc-3.4 and adds support for secondary drives
diff --git a/sys-boot/yaboot/Manifest b/sys-boot/yaboot/Manifest
index 86294265793a..cc9ffcc6d99c 100644
--- a/sys-boot/yaboot/Manifest
+++ b/sys-boot/yaboot/Manifest
@@ -1,4 +1,4 @@
-MD5 9504b38e9bbda7425c5405bdb7733e63 ChangeLog 4394
+MD5 4f1e7788d0e80f90f8ea7139ec06fbc2 ChangeLog 4534
MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156
MD5 6244b5fbfb4b54bb618abc34304cd3a3 yaboot-1.3.10-r1.ebuild 982
MD5 69d08b738daa7870e5d4a558bdacfe51 yaboot-1.3.10-r2.ebuild 1022
@@ -6,7 +6,7 @@ MD5 b3ffab30880e6a92d941e22da3194468 yaboot-1.3.10.ebuild 979
MD5 916bf805c76e005115c959e32c5e1a58 yaboot-1.3.11-r1.ebuild 1155
MD5 43065aa836eadc3effccf1bcfdc89682 yaboot-1.3.11.ebuild 1096
MD5 275a03c157b0087a8b6bfdef399a2b63 yaboot-1.3.12.ebuild 1060
-MD5 4fba506949b5b4a2def106a09ef3b612 yaboot-1.3.12-r1.ebuild 1374
+MD5 bcdd72c64a9b7b1ccccad42afd5f0877 yaboot-1.3.12-r1.ebuild 1725
MD5 15c7e4852d3cc4ca21044014d33737ee files/chrpfix.patch 979
MD5 b23ffae9719feba081f90bcb62ed4928 files/digest-yaboot-1.3.10 65
MD5 b23ffae9719feba081f90bcb62ed4928 files/digest-yaboot-1.3.10-r1 65
diff --git a/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild b/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild
index ed7be4e900a9..8a3149a1b9e6 100644
--- a/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild
+++ b/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild,v 1.2 2004/05/23 18:09:41 dostrow Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.12-r1.ebuild,v 1.3 2004/05/24 17:54:53 dostrow Exp $
inherit eutils
@@ -21,6 +21,18 @@ PROVIDE="virtual/bootloader"
MAKEOPTS='PREFIX=/usr MANDIR=share/man'
+pkg_setup() {
+ case "$(uname -r)" in
+ 2.5.*|2.6.0*|2.6.1|2.6.1-*|2.6.2|2.6.2-*)
+ eerror "You are running Linux kernel `uname -r` which is not supported"
+ eerror "Please note if you are running a 2.6 kernel the verison"
+ eerror "of ofpath included in this revision of yaboot requires"
+ eerror "that you run a kernel >= 2.6.3."
+ die
+ ;;
+ esac
+}
+
src_compile() {
export -n CFLAGS
export -n CXXFLAGS