Add Kernel 3.0.0 support (bug #369481)

cleanup-cruft
Nelson Batalha 14 years ago committed by Sebastian Pipping
parent f23c2e4a29
commit 6b92c54c1e

@ -5,6 +5,9 @@
# Distributed under the GPL v2 # Distributed under the GPL v2
# $Id$ # $Id$
31 May 2011; Nelson Batalha <nelson.batalha@gmail.com> defaults/initrd.defaults:
Add Kernel 3.0.0 support (bug #369481)
31 May 2011; Sebastian Pipping <sping@gentoo.org> genkernel: 31 May 2011; Sebastian Pipping <sping@gentoo.org> genkernel:
Output warning in warning color Output warning in warning color

@ -50,7 +50,7 @@ KMINOR=`echo $KV | cut -f2 -d.`
KVER="${KMAJOR}.${KMINOR}" KVER="${KMAJOR}.${KMINOR}"
MISCOPTS='debug detect' MISCOPTS='debug detect'
if [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' ] if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -eq '6' ]
then then
KV_2_6_OR_GREATER="yes" KV_2_6_OR_GREATER="yes"
fi fi
@ -59,7 +59,7 @@ QUIET='1'
ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt emul' ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt emul'
ROOT_TREES='etc root home var' ROOT_TREES='etc root home var'
INSMOD='insmod' INSMOD='insmod'
if [ "${KMINOR}" -gt '4' ] if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -gt '4' ]
then then
KSUFF='.ko' KSUFF='.ko'
else else

Loading…
Cancel
Save