On Wednesday 13 April 2005 06:44 am, Martin MOKREJŠ wrote:
>   I'm not sure how to block the ebuild when user is running 2.6 kernel
> (uname(1)?), of when the /usr/src/linux points to 2.6 kernel ... or just to
> check whether gentoo-sources or vanila-sources of 2.4 version are
> installed?

put this into pkg_setup():
[[ ${KV:0:3} == "2.6" ]] && die "Sorry, this package doesnt support 2.6 
kernels"
-mike

--
[email protected] mailing list

Reply via email to