1 |
jlec 13/03/30 13:01:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kexec-tools-2.0.4-r1.ebuild |
5 |
Removed: kexec-tools-2.0.4.ebuild |
6 |
Log: |
7 |
sys-apps/kexec-tools: Fix init script if no initrd is used, #463752 |
8 |
|
9 |
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916) |
10 |
|
11 |
Revision Changes Path |
12 |
1.48 sys-apps/kexec-tools/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.48&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.48&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?r1=1.47&r2=1.48 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v |
21 |
retrieving revision 1.47 |
22 |
retrieving revision 1.48 |
23 |
diff -u -r1.47 -r1.48 |
24 |
--- ChangeLog 27 Mar 2013 11:50:54 -0000 1.47 |
25 |
+++ ChangeLog 30 Mar 2013 13:01:49 -0000 1.48 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-apps/kexec-tools |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.47 2013/03/27 11:50:54 jlec Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.48 2013/03/30 13:01:49 jlec Exp $ |
31 |
+ |
32 |
+*kexec-tools-2.0.4-r1 (30 Mar 2013) |
33 |
+ |
34 |
+ 30 Mar 2013; Justin Lecher <jlec@g.o> files/kexec.init-2.0.4, |
35 |
+ -kexec-tools-2.0.4.ebuild, +kexec-tools-2.0.4-r1.ebuild: |
36 |
+ Fix init script if no initrd is used, #463752 |
37 |
|
38 |
*kexec-tools-2.0.4 (27 Mar 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-apps/kexec-tools/kexec-tools-2.0.4-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.4-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.4-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: kexec-tools-2.0.4-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.4-r1.ebuild,v 1.1 2013/03/30 13:01:49 jlec Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit eutils flag-o-matic linux-info |
57 |
|
58 |
DESCRIPTION="Load another kernel from the currently executing Linux kernel" |
59 |
HOMEPAGE="http://kernel.org/pub/linux/utils/kernel/kexec/" |
60 |
SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="booke lzma xen zlib" |
66 |
|
67 |
DEPEND=" |
68 |
lzma? ( app-arch/xz-utils ) |
69 |
zlib? ( sys-libs/zlib )" |
70 |
RDEPEND="${DEPEND}" |
71 |
|
72 |
CONFIG_CHECK="~KEXEC" |
73 |
|
74 |
src_prepare() { |
75 |
epatch \ |
76 |
"${FILESDIR}"/${PN}-2.0.0-respect-LDFLAGS.patch \ |
77 |
"${FILESDIR}"/${P}-disable-kexec-test.patch |
78 |
|
79 |
# to disable the -fPIE -pie in the hardened compiler |
80 |
if gcc-specs-pie ; then |
81 |
filter-flags -fPIE |
82 |
append-ldflags -nopie |
83 |
fi |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
# GNU Make's $(COMPILE.S) passes ASFLAGS to $(CCAS), CCAS=$(CC) |
88 |
export ASFLAGS="${CCASFLAGS}" |
89 |
econf \ |
90 |
$(use_with booke) \ |
91 |
$(use_with lzma) \ |
92 |
$(use_with xen) \ |
93 |
$(use_with zlib) |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
default |
98 |
|
99 |
dodoc "${FILESDIR}"/README.Gentoo |
100 |
|
101 |
newinitd "${FILESDIR}"/kexec.init-${PV} kexec |
102 |
newconfd "${FILESDIR}"/kexec.conf-${PV} kexec |
103 |
} |