From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QRMf7-00054U-VN for garchives@archives.gentoo.org; Tue, 31 May 2011 10:59:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4063D1C006; Tue, 31 May 2011 10:58:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0DFC51C006 for ; Tue, 31 May 2011 10:58:53 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81DFD1B4006 for ; Tue, 31 May 2011 10:58:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C0A8880508 for ; Tue, 31 May 2011 10:58:52 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <6b92c54c1ecc90735f101fafab65d993938d8ee6.sping@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: /, defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: ChangeLog defaults/initrd.defaults X-VCS-Directories: / defaults/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 6b92c54c1ecc90735f101fafab65d993938d8ee6 Date: Tue, 31 May 2011 10:58:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 33cec7864c2eb66bb06ebd4d8aa63b8c commit: 6b92c54c1ecc90735f101fafab65d993938d8ee6 Author: Nelson Batalha gmail com> AuthorDate: Tue May 31 10:57:09 2011 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue May 31 10:57:09 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D6b92c54c Add Kernel 3.0.0 support (bug #369481) --- ChangeLog | 3 +++ defaults/initrd.defaults | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c402d6..03f20db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ # Distributed under the GPL v2 # $Id$ =20 + 31 May 2011; Nelson Batalha defaults/initrd= .defaults: + Add Kernel 3.0.0 support (bug #369481) + 31 May 2011; Sebastian Pipping genkernel: Output warning in warning color =20 diff --git a/defaults/initrd.defaults b/defaults/initrd.defaults index fd6d9fc..72e8376 100755 --- a/defaults/initrd.defaults +++ b/defaults/initrd.defaults @@ -50,7 +50,7 @@ KMINOR=3D`echo $KV | cut -f2 -d.` KVER=3D"${KMAJOR}.${KMINOR}" MISCOPTS=3D'debug detect' =20 -if [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' ] +if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -eq '6' ] then KV_2_6_OR_GREATER=3D"yes" fi @@ -59,7 +59,7 @@ QUIET=3D'1' ROOT_LINKS=3D'bin sbin lib lib32 lib64 boot usr opt emul' ROOT_TREES=3D'etc root home var' INSMOD=3D'insmod' -if [ "${KMINOR}" -gt '4' ] +if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -gt '4' ] then KSUFF=3D'.ko' else