Adding support for vserver
authorJohn Mylchreest <johnm@gentoo.org>
Fri, 14 Jan 2005 11:19:05 +0000 (11:19 +0000)
committerJohn Mylchreest <johnm@gentoo.org>
Fri, 14 Jan 2005 11:19:05 +0000 (11:19 +0000)
eclass/kernel-2.eclass

index f0dfe4def4c1d649d8c45d1001a5faddbd6fa1bc..257548e86087e577ff3f405938b3de97e2e0af58 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.82 2005/01/14 00:43:45 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.83 2005/01/14 11:19:05 johnm Exp $
 
 # Description: kernel.eclass rewrite for a clean base regarding the 2.6
 #              series of kernel with back-compatibility for 2.4
@@ -740,6 +740,7 @@ detect_version() {
        then
                [ -z "${K_NOUSENAME}" ] && EXTRAVERSION="${EXTRAVERSION}-${PN/-*/}"
                [ "${PN/-*/}" == "wolk" ] && EXTRAVERSION="-${PN/-*/}-${PV}"
+               [ "${PN/-*/}" == "vserver" ] && EXTRAVERSION="-${PN/-*/}-${PV}"
                [ "${PR}" != "r0" ]     && EXTRAVERSION="${EXTRAVERSION}-${PR}"
        fi