1 |
jlec 15/06/29 07:49:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kexec-tools-2.0.9-r2.ebuild |
5 |
Log: |
6 |
Correctly handle loaded image during reboot with LOAD_DURING_SHUTDOWN, bug #553372; thanks AaylaSecura for the patch |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.67 sys-apps/kexec-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.67&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.67&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?r1=1.66&r2=1.67 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v |
20 |
retrieving revision 1.66 |
21 |
retrieving revision 1.67 |
22 |
diff -u -r1.66 -r1.67 |
23 |
--- ChangeLog 15 Apr 2015 08:37:14 -0000 1.66 |
24 |
+++ ChangeLog 29 Jun 2015 07:49:24 -0000 1.67 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-apps/kexec-tools |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.66 2015/04/15 08:37:14 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.67 2015/06/29 07:49:24 jlec Exp $ |
30 |
+ |
31 |
+*kexec-tools-2.0.9-r2 (29 Jun 2015) |
32 |
+ |
33 |
+ 29 Jun 2015; Justin Lecher <jlec@g.o> +files/kexec.init-2.0.4-r3, |
34 |
+ +kexec-tools-2.0.9-r2.ebuild: |
35 |
+ Correctly handle loaded image during reboot with LOAD_DURING_SHUTDOWN, bug |
36 |
+ #553372; thanks AaylaSecura for the patch |
37 |
|
38 |
*kexec-tools-2.0.9-r1 (15 Apr 2015) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-apps/kexec-tools/kexec-tools-2.0.9-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.9-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.9-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: kexec-tools-2.0.9-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 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.9-r2.ebuild,v 1.1 2015/06/29 07:49:24 jlec Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit autotools-utils linux-info systemd |
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 |
REQUIRED_USE="lzma? ( zlib )" |
68 |
|
69 |
DEPEND=" |
70 |
lzma? ( app-arch/xz-utils ) |
71 |
zlib? ( sys-libs/zlib )" |
72 |
RDEPEND="${DEPEND}" |
73 |
|
74 |
CONFIG_CHECK="~KEXEC" |
75 |
|
76 |
PATCHES=( |
77 |
"${FILESDIR}"/${PN}-2.0.4-disable-kexec-test.patch |
78 |
"${FILESDIR}"/${PN}-2.0.4-out-of-source.patch |
79 |
"${FILESDIR}"/${PN}-2.0.9-hardened.patch |
80 |
) |
81 |
|
82 |
pkg_setup() { |
83 |
# GNU Make's $(COMPILE.S) passes ASFLAGS to $(CCAS), CCAS=$(CC) |
84 |
export ASFLAGS="${CCASFLAGS}" |
85 |
} |
86 |
|
87 |
src_configure() { |
88 |
local myeconfargs=( |
89 |
$(use_with booke) |
90 |
$(use_with lzma) |
91 |
$(use_with xen) |
92 |
$(use_with zlib) |
93 |
) |
94 |
autotools-utils_src_configure |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
autotools-utils_src_install |
99 |
|
100 |
dodoc "${FILESDIR}"/README.Gentoo |
101 |
|
102 |
newinitd "${FILESDIR}"/kexec.init-2.0.4-r3 kexec |
103 |
newconfd "${FILESDIR}"/kexec.conf-2.0.4 kexec |
104 |
|
105 |
insinto /etc |
106 |
doins "${FILESDIR}"/kexec.conf |
107 |
|
108 |
insinto /etc/kernel/postinst.d |
109 |
doins "${FILESDIR}"/90_kexec |
110 |
|
111 |
systemd_dounit "${FILESDIR}"/kexec.service |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
if systemd_is_booted || has_version sys-apps/systemd; then |
116 |
elog "For systemd support the new config file is" |
117 |
elog " /etc/kexec.conf" |
118 |
elog "Please adopt it to your needs as there is no autoconfig anymore" |
119 |
fi |
120 |
} |