1 |
jlec 13/12/28 20:16:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kexec-tools-2.0.4-r3.ebuild |
5 |
Log: |
6 |
sys-apps/kexec-tools: Add postinst script for installkernel(8), #491044 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.60 sys-apps/kexec-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.60&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?rev=1.60&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/ChangeLog?r1=1.59&r2=1.60 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v |
20 |
retrieving revision 1.59 |
21 |
retrieving revision 1.60 |
22 |
diff -u -r1.59 -r1.60 |
23 |
--- ChangeLog 12 Nov 2013 09:09:20 -0000 1.59 |
24 |
+++ ChangeLog 28 Dec 2013 20:16:29 -0000 1.60 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-apps/kexec-tools |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.59 2013/11/12 09:09:20 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.60 2013/12/28 20:16:29 jlec Exp $ |
30 |
+ |
31 |
+*kexec-tools-2.0.4-r3 (28 Dec 2013) |
32 |
+ |
33 |
+ 28 Dec 2013; Justin Lecher <jlec@g.o> +kexec-tools-2.0.4-r3.ebuild, |
34 |
+ +files/90_kexec: |
35 |
+ Add postinst script for installkernel(8), #491044 |
36 |
|
37 |
12 Nov 2013; Justin Lecher <jlec@g.o> kexec-tools-2.0.4-r1.ebuild, |
38 |
kexec-tools-2.0.4-r2.ebuild, kexec-tools-9999.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/kexec-tools/kexec-tools-2.0.4-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.4-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.4-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: kexec-tools-2.0.4-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.4-r3.ebuild,v 1.1 2013/12/28 20:16:29 jlec Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit autotools-utils flag-o-matic linux-info systemd |
56 |
|
57 |
DESCRIPTION="Load another kernel from the currently executing Linux kernel" |
58 |
HOMEPAGE="http://kernel.org/pub/linux/utils/kernel/kexec/" |
59 |
SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="booke lzma xen zlib" |
65 |
|
66 |
REQUIRED_USE="lzma? ( zlib )" |
67 |
|
68 |
DEPEND=" |
69 |
lzma? ( app-arch/xz-utils ) |
70 |
zlib? ( sys-libs/zlib )" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
CONFIG_CHECK="~KEXEC" |
74 |
|
75 |
PATCHES=( |
76 |
"${FILESDIR}"/${PN}-2.0.0-respect-LDFLAGS.patch |
77 |
"${FILESDIR}"/${P}-disable-kexec-test.patch |
78 |
"${FILESDIR}"/${P}-out-of-source.patch |
79 |
) |
80 |
|
81 |
pkg_setup() { |
82 |
# GNU Make's $(COMPILE.S) passes ASFLAGS to $(CCAS), CCAS=$(CC) |
83 |
export ASFLAGS="${CCASFLAGS}" |
84 |
# to disable the -fPIE -pie in the hardened compiler |
85 |
if gcc-specs-pie ; then |
86 |
filter-flags -fPIE |
87 |
append-ldflags -nopie |
88 |
fi |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
local myeconfargs=( |
93 |
$(use_with booke) |
94 |
$(use_with lzma) |
95 |
$(use_with xen) |
96 |
$(use_with zlib) |
97 |
) |
98 |
autotools-utils_src_configure |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
autotools-utils_src_install |
103 |
|
104 |
dodoc "${FILESDIR}"/README.Gentoo |
105 |
|
106 |
newinitd "${FILESDIR}"/kexec.init-${PV}-r2 kexec |
107 |
newconfd "${FILESDIR}"/kexec.conf-${PV} kexec |
108 |
|
109 |
insinto /etc |
110 |
doins "${FILESDIR}"/kexec.conf |
111 |
|
112 |
insinto /etc/kernel/postinst.d |
113 |
doins "${FILESDIR}"/90_kexec |
114 |
|
115 |
systemd_dounit "${FILESDIR}"/kexec.service |
116 |
} |
117 |
|
118 |
pkg_postinst() { |
119 |
if systemd_is_booted || has_version sys-apps/systemd; then |
120 |
elog "For systemd support the new config file is" |
121 |
elog " /etc/kexec.conf" |
122 |
elog "Please adopt it to your needs as there is no autoconfig anymore" |
123 |
fi |
124 |
} |