1 |
robbat2 09/09/06 23:38:00 |
2 |
|
3 |
Modified: ChangeLog udev-145-r1.ebuild |
4 |
Log: |
5 |
Use proper kernel_is function to compare properly including the 4 argument of the kernel version. |
6 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.490 sys-fs/udev/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.490&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.490&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.489&r2=1.490 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v |
18 |
retrieving revision 1.489 |
19 |
retrieving revision 1.490 |
20 |
diff -p -w -b -B -u -u -r1.489 -r1.490 |
21 |
--- ChangeLog 6 Sep 2009 12:41:53 -0000 1.489 |
22 |
+++ ChangeLog 6 Sep 2009 23:38:00 -0000 1.490 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for sys-fs/udev |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.489 2009/09/06 12:41:53 zzam Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.490 2009/09/06 23:38:00 robbat2 Exp $ |
28 |
+ |
29 |
+ 06 Sep 2009; Robin H. Johnson <robbat2@g.o> udev-145-r1.ebuild: |
30 |
+ Use proper kernel_is function to compare properly including the 4 argument |
31 |
+ of the kernel version. |
32 |
|
33 |
06 Sep 2009; Matthias Schwarzott <zzam@g.o> udev-145-r1.ebuild: |
34 |
Only execute the lib->lib64 move code if it is really needed, bug #281338. |
35 |
|
36 |
|
37 |
|
38 |
1.6 sys-fs/udev/udev-145-r1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild?rev=1.6&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild?rev=1.6&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild?r1=1.5&r2=1.6 |
43 |
|
44 |
Index: udev-145-r1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild,v |
47 |
retrieving revision 1.5 |
48 |
retrieving revision 1.6 |
49 |
diff -p -w -b -B -u -u -r1.5 -r1.6 |
50 |
--- udev-145-r1.ebuild 6 Sep 2009 12:41:53 -0000 1.5 |
51 |
+++ udev-145-r1.ebuild 6 Sep 2009 23:38:00 -0000 1.6 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild,v 1.5 2009/09/06 12:41:53 zzam Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild,v 1.6 2009/09/06 23:38:00 robbat2 Exp $ |
57 |
|
58 |
EAPI="1" |
59 |
|
60 |
@@ -60,9 +60,9 @@ udev_check_KV() { |
61 |
local ok=0 |
62 |
if [[ ${KV_MAJOR} == 2 && ${KV_MINOR} == 6 ]] |
63 |
then |
64 |
- if [[ ${KV_PATCH} -ge ${KV_PATCH_reliable} ]]; then |
65 |
+ if kernel_is -ge 2 6 ${KV_PATCH_reliable} ; then |
66 |
ok=2 |
67 |
- elif [[ ${KV_PATCH} -ge ${KV_PATCH_min} ]]; then |
68 |
+ elif kernel_is -ge 2 6 ${KV_PATCH_min} ; then |
69 |
ok=1 |
70 |
fi |
71 |
fi |
72 |
@@ -89,7 +89,7 @@ pkg_setup() { |
73 |
echo |
74 |
# We don't care about the secondary revision of the kernel. |
75 |
# 2.6.30.4 -> 2.6.30 is all we check |
76 |
- KV_PATCH="${KV_PATCH%.*}" udev_check_KV |
77 |
+ udev_check_KV |
78 |
case "$?" in |
79 |
2) einfo "Your kernel version (${KV_FULL}) is new enough to run ${P} reliable." ;; |
80 |
1) ewarn "Your kernel version (${KV_FULL}) is new enough to run ${P}," |
81 |
@@ -102,7 +102,7 @@ pkg_setup() { |
82 |
|
83 |
KV_FULL_SRC=${KV_FULL} |
84 |
get_running_version |
85 |
- KV_PATCH="${KV_PATCH%.*}" udev_check_KV |
86 |
+ udev_check_KV |
87 |
if [[ "$?" = "0" ]]; then |
88 |
eerror |
89 |
eerror "udev cannot be restarted after emerging," |