1 |
commit: 78e089755d40327222a43435fe365a40c71410a0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 20:36:56 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 20:36:56 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=78e08975 |
7 |
|
8 |
sys-apps/systemd: Add kernel version check and bump requirement to 2.6.38 on own experience. |
9 |
|
10 |
(Portage version: 2.2.0_alpha30_p40/git/Linux x86_64, signed Manifest commit with key 05DE07BB) |
11 |
|
12 |
--- |
13 |
sys-apps/systemd/Manifest | 8 ++++---- |
14 |
sys-apps/systemd/systemd-9999.ebuild | 9 ++++++--- |
15 |
2 files changed, 10 insertions(+), 7 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest |
18 |
index 73dbe27..5a8da88 100644 |
19 |
--- a/sys-apps/systemd/Manifest |
20 |
+++ b/sys-apps/systemd/Manifest |
21 |
@@ -3,12 +3,12 @@ Hash: SHA1 |
22 |
|
23 |
DIST systemd-25.tar.bz2 784742 RMD160 da63a9a28e844e74a1000a8ec32c3afaf7929924 SHA1 24981d944b52337741ed1144ded54dd06c18ea3b SHA256 626992eeb8636e81b87f190cb58e80fd82cb7e29cf335a119be425034e9a4d6c |
24 |
EBUILD systemd-25.ebuild 3300 RMD160 5fbfa4ca8a99fee953da1b91d7fbe30d6b0ee106 SHA1 118914affbc9fff6d1149bc10c96765c7d219d4f SHA256 669bf7f7e2cde0e63baf8ed4181c260df14fa20efe75dece5f62a6f646a209aa |
25 |
-EBUILD systemd-9999.ebuild 3354 RMD160 c94518354b38b52aed9084b7a296aac5e733665d SHA1 0378f1d04833fb902d9a98fa16ffa1bfdbcef925 SHA256 4d09583f1d2f1049fdb0c031d6c4b5de31b8cf18c7fe67fb05cf9c2c5706e6fa |
26 |
+EBUILD systemd-9999.ebuild 3461 RMD160 6b9cdacbb4169cee9bd110ba85788a4b8d6613c0 SHA1 cd266a9723212be6c09eae7456990cbd0b08c564 SHA256 7f988ebd8c6746451af61ae02c6aab292eb11206f887f8d2fb5cc043a2833300 |
27 |
MISC metadata.xml 346 RMD160 0a87c8fe5dab7495fbe54aac0bbefa83a05ac451 SHA1 b3a588f46564c9dc4dc186c7e6d8a31c37d2bbfd SHA256 1ea5b2ad74881e6dec7d2ff29067cd6fced2dd838cc3bdec3638971e80c5870d |
28 |
-----BEGIN PGP SIGNATURE----- |
29 |
Version: GnuPG v2.0.17 (GNU/Linux) |
30 |
|
31 |
-iEYEARECAAYFAk3ARhAACgkQnGSe5QXeB7uaMACeJHbXapjV3+W6LLcbemBDPLSV |
32 |
-vtMAnj9dd8UwjCz/2i8A1datZmgRyMg0 |
33 |
-=0/XW |
34 |
+iEYEARECAAYFAk3AZ2gACgkQnGSe5QXeB7v86ACfVBfKAOg43Caq2IHTeUK+8kRw |
35 |
+NrAAoL9/9qheua+7ppIdGgdPWvRGNfn/ |
36 |
+=9c3O |
37 |
-----END PGP SIGNATURE----- |
38 |
|
39 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
40 |
index c06501c..1ae8124 100644 |
41 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
42 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
43 |
@@ -34,18 +34,21 @@ COMMON_DEPEND="sys-apps/dbus |
44 |
|
45 |
# Vala-0.10 doesn't work with libnotify 0.7.1 |
46 |
VALASLOT="0.12" |
47 |
+MINKV="2.6.38" |
48 |
+ |
49 |
RDEPEND="${COMMON_DEPEND} |
50 |
sys-apps/systemd-units" |
51 |
DEPEND="${COMMON_DEPEND} |
52 |
app-text/docbook-xml-dtd:4.2 |
53 |
- gtk? ( dev-lang/vala:$VALASLOT ) |
54 |
- >=sys-kernel/linux-headers-2.6.32" |
55 |
+ gtk? ( dev-lang/vala:${VALASLOT} ) |
56 |
+ >=sys-kernel/linux-headers-${MINKV}" |
57 |
|
58 |
-CONFIG_CHECK="AUTOFS4_FS CGROUPS DEVTMPFS ~FANOTIFY ~IPV6" |
59 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
60 |
|
61 |
pkg_pretend() { |
62 |
+ local CONFIG_CHECK="AUTOFS4_FS CGROUPS DEVTMPFS ~FANOTIFY ~IPV6" |
63 |
linux-info_pkg_setup |
64 |
+ kernel_is -ge ${MINKV//./ } || die "Kernel version at least ${MINKV} required" |
65 |
} |
66 |
|
67 |
pkg_setup() { |