Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/kexec-tools/
Date: Tue, 01 Aug 2017 15:10:28
Message-Id: 1501600127.2866f4373027f71ee945cbe06a13f23fc44ac846.polynomial-c@gentoo
1 commit: 2866f4373027f71ee945cbe06a13f23fc44ac846
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 1 15:08:47 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 1 15:08:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2866f437
7
8 sys-apps/kexec-tools: Sync live ebuild.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/kexec-tools/kexec-tools-9999.ebuild | 19 ++++++++++++-------
14 1 file changed, 12 insertions(+), 7 deletions(-)
15
16 diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
17 index fb38edc70a0..f3f01574c05 100644
18 --- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
19 +++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
20 @@ -1,7 +1,7 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="5"
26 +EAPI=6
27
28 if [[ ${PV} == "9999" ]] ; then
29 inherit git-r3
30 @@ -9,10 +9,10 @@ if [[ ${PV} == "9999" ]] ; then
31 AUTOTOOLS_AUTORECONF=true
32 else
33 SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz"
34 - KEYWORDS="~amd64 ~x86"
35 + KEYWORDS="~amd64 ~arm64 ~x86"
36 fi
37
38 -inherit autotools-utils linux-info systemd
39 +inherit libtool linux-info systemd
40
41 DESCRIPTION="Load another kernel from the currently executing Linux kernel"
42 HOMEPAGE="https://kernel.org/pub/linux/utils/kernel/kexec/"
43 @@ -40,6 +40,11 @@ pkg_setup() {
44 export ASFLAGS="${CCASFLAGS}"
45 }
46
47 +src_prepare() {
48 + default
49 + elibtoolize
50 +}
51 +
52 src_configure() {
53 local myeconfargs=(
54 $(use_with booke)
55 @@ -47,15 +52,15 @@ src_configure() {
56 $(use_with xen)
57 $(use_with zlib)
58 )
59 - autotools-utils_src_configure
60 + econf "${myeconfargs[@]}"
61 }
62
63 src_install() {
64 - autotools-utils_src_install
65 + default
66
67 dodoc "${FILESDIR}"/README.Gentoo
68
69 - newinitd "${FILESDIR}"/kexec.init-2.0.12 kexec
70 + newinitd "${FILESDIR}"/kexec.init-2.0.13-r1 kexec
71 newconfd "${FILESDIR}"/kexec.conf-2.0.4 kexec
72
73 insinto /etc