summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-09-19 08:55:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-09-19 08:55:21 +0000
commit077f818fc7b63fbd89c4053fa1abb0fe56dfe990 (patch)
tree758c36d0a7bc23948fd6e78d056d2a06c6a21c12 /sys-fs/udev
parentVersion bump, bug#523190, thanks to polynomial-c (diff)
downloadgentoo-2-077f818fc7b63fbd89c4053fa1abb0fe56dfe990.tar.gz
gentoo-2-077f818fc7b63fbd89c4053fa1abb0fe56dfe990.tar.bz2
gentoo-2-077f818fc7b63fbd89c4053fa1abb0fe56dfe990.zip
Warn users with older kernel than 3.7 that they won't have anykind of firmware loading support.
(Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs/udev')
-rw-r--r--sys-fs/udev/ChangeLog6
-rw-r--r--sys-fs/udev/udev-9999.ebuild24
2 files changed, 21 insertions, 9 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 3eedac8c02e9..e1a259f1b4d9 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.1089 2014/09/17 14:09:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.1090 2014/09/19 08:55:21 ssuominen Exp $
+
+ 19 Sep 2014; Samuli Suominen <ssuominen@gentoo.org> udev-9999.ebuild:
+ Warn users with older kernel than 3.7 that they won't have anykind of firmware
+ loading support.
17 Sep 2014; Samuli Suominen <ssuominen@gentoo.org> udev-216.ebuild:
amd64/x86 stable wrt #522778
diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild
index 46aded15fbf6..187839ee6858 100644
--- a/sys-fs/udev/udev-9999.ebuild
+++ b/sys-fs/udev/udev-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.319 2014/08/31 14:14:20 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.320 2014/09/19 08:55:21 ssuominen Exp $
EAPI=5
@@ -88,15 +88,23 @@ check_default_rules() {
}
pkg_setup() {
- CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~!FW_LOADER_USER_HELPER"
- linux-info_pkg_setup
+ if [[ ${MERGE_TYPE} != buildonly ]]; then
+ CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET ~!FW_LOADER_USER_HELPER"
+ linux-info_pkg_setup
- # CONFIG_FHANDLE was introduced by 2.6.39
- local MINKV=2.6.39
+ # CONFIG_FHANDLE was introduced by 2.6.39
+ local MINKV=2.6.39
- if kernel_is -lt ${MINKV//./ }; then
- eerror "Your running kernel is too old to run this version of ${P}"
- eerror "You need to upgrade kernel at least to ${MINKV}"
+ if kernel_is -lt ${MINKV//./ }; then
+ eerror "Your running kernel is too old to run this version of ${P}"
+ eerror "You need to upgrade kernel at least to ${MINKV}"
+ fi
+
+ if kernel_is -lt 3 7; then
+ ewarn "Your running kernel is too old to have firmware loader and"
+ ewarn "this version of ${P} doesn't have userspace firmware loader"
+ ewarn "If you need firmware support, you need to upgrade kernel at least to 3.7"
+ fi
fi
}