diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2007-11-26 16:10:13 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2007-11-26 16:10:13 +0000 |
commit | e5f29806b65e2657aab8d9238aef8688cec96064 (patch) | |
tree | 6a3a96c8cb0fe3599df293d86874dd4b8a1785f3 /app-laptop/omnibook | |
parent | remove old versions (diff) | |
download | gentoo-2-e5f29806b65e2657aab8d9238aef8688cec96064.tar.gz gentoo-2-e5f29806b65e2657aab8d9238aef8688cec96064.tar.bz2 gentoo-2-e5f29806b65e2657aab8d9238aef8688cec96064.zip |
Added check to prevent current omnibook version to run on kernels greater than 2.6.11. Fixes bug 200399.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-laptop/omnibook')
-rw-r--r-- | app-laptop/omnibook/ChangeLog | 6 | ||||
-rw-r--r-- | app-laptop/omnibook/omnibook-20070211.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/app-laptop/omnibook/ChangeLog b/app-laptop/omnibook/ChangeLog index 0fa1f56e4a1b..277000167edf 100644 --- a/app-laptop/omnibook/ChangeLog +++ b/app-laptop/omnibook/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-laptop/omnibook # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/ChangeLog,v 1.20 2007/11/25 00:38:14 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/ChangeLog,v 1.21 2007/11/26 16:10:13 s4t4n Exp $ + + 26 Nov 2007; Michele Noberasco <s4t4n@gentoo.org> omnibook-20070211.ebuild: + Added code to prevent this package from being built on kernels greater than 2.6.11. + Closes bug #200399. 25 Nov 2007; Krzysiek Pawlik <nelchael@gentoo.org> omnibook-20070211.ebuild: diff --git a/app-laptop/omnibook/omnibook-20070211.ebuild b/app-laptop/omnibook/omnibook-20070211.ebuild index 58c8f839a39e..bdbad893105a 100644 --- a/app-laptop/omnibook/omnibook-20070211.ebuild +++ b/app-laptop/omnibook/omnibook-20070211.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20070211.ebuild,v 1.4 2007/11/25 00:38:14 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20070211.ebuild,v 1.5 2007/11/26 16:10:13 s4t4n Exp $ inherit linux-mod eutils @@ -18,6 +18,10 @@ MODULE_NAMES="omnibook(char:)" BUILD_TARGETS=" " pkg_setup() { + if ! kernel_is le 2 6 11; then + die "This version of omnibook cannot be built on a kernel > 2.6.11!" + fi + linux-mod_pkg_setup BUILD_PARAMS="KERNEL=${KV_MAJOR}.${KV_MINOR} KSRC=${KV_DIR}" } |