From d9fc4acc572c6647a4f27b838d35d27d805d190e Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Sun, 28 Aug 2005 08:37:44 +0000 Subject: Migration (without history) of the current stable line to subversion. svn path=/main/branches/2.0/; revision=1941 --- man/check-kernel.eclass.5 | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 man/check-kernel.eclass.5 (limited to 'man/check-kernel.eclass.5') diff --git a/man/check-kernel.eclass.5 b/man/check-kernel.eclass.5 new file mode 100644 index 000000000..8402b0b23 --- /dev/null +++ b/man/check-kernel.eclass.5 @@ -0,0 +1,53 @@ +.TH "CHECK-KERNEL.ECLASS" "5" "Aug 2004" "Portage 2.0.51" "portage" +.SH "NAME" +check-kernel.eclass \- check kernel sources +.SH "DESCRIPTION" +The \fBcheck-kernel\fR eclass provides an easy interface for detecting kernel +sources and retrieving various information. +.SH "VARIABLES" +The following variables are exported by the \fBcheck-kernel\fR eclass: +.TP +.BR KV_full +Full kernel version (eg. 2.4.27-gentoo-r1) +.TP +.BR KV_major +Major kernel version (eg. 2) +.TP +.BR KV_minor +Minor kernel version (eg. 4) +.TP +.BR KV_micro +Micro kernel version (eg. 27) +.SH "FUNCTIONS" +.TP +.BR check_version_h +Checks to make sure the /usr/src/linux symlink is correctly setup. If it is not, +this function will print a huge error message and halt the emerge process. +.TP +.BR get_KV_info +Parses the kernel's version.h to fill in the \fB${KV_full}\fR, \fB${KV_major}\fR, +\fB${KV_minor}\fR, and \fB${KV_micro}\fR variables. +.TP +\fINOTE:\fR The following functions all return shell true/false. +.TP +.BR is_2_4_kernel +Checks for kernel version 2.4. +.TP +.BR is_2_5_kernel +Checks for kernel version 2.5. +.TP +.BR is_2_6_kernel +Checks for kernel version 2.6. +.TP +.BR kernel_supports_modules +Check to see if the kernel supports modules (CONFIG_MODULES). +.SH "REPORTING BUGS" +Please report bugs via http://bugs.gentoo.org/ +.SH "SEE ALSO" +.BR ebuild (5) +.SH "FILES" +.BR /usr/portage/eclass/check-kernel.eclass +.SH "AUTHORS" +Aaron Walker +.SH "CVS HEADER" +$Header: /var/cvsroot/gentoo-src/portage/man/check-kernel.eclass.5,v 1.3.2.1 2005/01/15 00:19:36 vapier Exp $ -- cgit v1.2.3-1-g7c22