diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-09-24 13:46:13 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-09-24 13:46:13 +0000 |
commit | e566e4b1b51c4da92cbb2422dc24c1d1129a573f (patch) | |
tree | 9392099adcb32e331f8b129c577fa6f57dbb11a6 /net-wireless/iwl1000-ucode | |
parent | Marked ~x64-macos (diff) | |
download | gentoo-2-e566e4b1b51c4da92cbb2422dc24c1d1129a573f.tar.gz gentoo-2-e566e4b1b51c4da92cbb2422dc24c1d1129a573f.tar.bz2 gentoo-2-e566e4b1b51c4da92cbb2422dc24c1d1129a573f.zip |
Output a warning in pkg_pretend if the kernel is too old, bug 384125.
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/iwl1000-ucode')
-rw-r--r-- | net-wireless/iwl1000-ucode/ChangeLog | 5 | ||||
-rw-r--r-- | net-wireless/iwl1000-ucode/iwl1000-ucode-39.31.5.1.ebuild | 15 |
2 files changed, 17 insertions, 3 deletions
diff --git a/net-wireless/iwl1000-ucode/ChangeLog b/net-wireless/iwl1000-ucode/ChangeLog index 7ccc37b5f5d5..226efb601eba 100644 --- a/net-wireless/iwl1000-ucode/ChangeLog +++ b/net-wireless/iwl1000-ucode/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-wireless/iwl1000-ucode # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl1000-ucode/ChangeLog,v 1.9 2011/09/23 07:00:30 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl1000-ucode/ChangeLog,v 1.10 2011/09/24 13:46:13 ulm Exp $ + + 24 Sep 2011; Ulrich Mueller <ulm@gentoo.org> iwl1000-ucode-39.31.5.1.ebuild: + Output a warning in pkg_pretend if the kernel is too old, bug 384125. 23 Sep 2011; Ulrich Mueller <ulm@gentoo.org> +iwl1000-ucode-128.50.3.1.ebuild: diff --git a/net-wireless/iwl1000-ucode/iwl1000-ucode-39.31.5.1.ebuild b/net-wireless/iwl1000-ucode/iwl1000-ucode-39.31.5.1.ebuild index f32fbe437fbb..0469346f32c4 100644 --- a/net-wireless/iwl1000-ucode/iwl1000-ucode-39.31.5.1.ebuild +++ b/net-wireless/iwl1000-ucode/iwl1000-ucode-39.31.5.1.ebuild @@ -1,10 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl1000-ucode/iwl1000-ucode-39.31.5.1.ebuild,v 1.3 2011/09/18 21:41:28 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwl1000-ucode/iwl1000-ucode-39.31.5.1.ebuild,v 1.4 2011/09/24 13:46:13 ulm Exp $ EAPI=4 -MY_P="iwlwifi-1000-ucode-${PV}" +inherit linux-info + +MY_P="iwlwifi-1000-ucode-${PV}" DESCRIPTION="Intel (R) Wireless WiFi Link 1000BGN ucode" HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi" SRC_URI="http://intellinuxwireless.org/iwlwifi/downloads/${MY_P}.tgz" @@ -18,6 +20,15 @@ RDEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )" S="${WORKDIR}/${MY_P}" +pkg_pretend() { + if kernel_is lt 2 6 39; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= 2.6.39." + ewarn "For kernel versions < 2.6.39, you may unmask and install" + ewarn "${CATEGORY}/${PN}-128.50.3.1 instead." + fi +} + src_install() { insinto /lib/firmware doins iwlwifi-1000-5.ucode |