commit:     3026ed88db0defe232b002d1ff9113fc437e8d87
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Fri Jun 28 01:48:47 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 15:06:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3026ed88

sys-apps/kexec-tools: add ppc64 keyword

with package.accept_keywords =sys-apps/kexec-tools-2.0.19 ~amd64 and the
changes to the init file (by default make install installs vmlinux not
vmlinuz) this works on a Talos II.

Closes: https://github.com/gentoo/gentoo/pull/12346
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Signed-off-by: Marty E. Plummer <hanetzer <AT> startmail.com>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/kexec-tools/files/kexec.init-2.0.13-r1                       | 4 +++-
 .../{kexec-tools-9999.ebuild => kexec-tools-2.0.19-r1.ebuild}         | 2 +-
 sys-apps/kexec-tools/kexec-tools-9999.ebuild                          | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-apps/kexec-tools/files/kexec.init-2.0.13-r1 
b/sys-apps/kexec-tools/files/kexec.init-2.0.13-r1
index 5415b3bc85c..167b792de85 100644
--- a/sys-apps/kexec-tools/files/kexec.init-2.0.13-r1
+++ b/sys-apps/kexec-tools/files/kexec.init-2.0.13-r1
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Set up some defaults.
@@ -38,8 +38,10 @@ image_path() {
        local gkarch="$(get_genkernel_arch $karch)"
        for x in \
                "bzImage" \
+               "vmlinux" \
                "vmlinuz" \
                "bzImage-${kver}" \
+               "vmlinux-${kver}" \
                "vmlinuz-${kver}" \
                "kernel-genkernel-${karch}-${kver}" \
                "kernel-genkernel-${gkarch}-${kver}" \

diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild 
b/sys-apps/kexec-tools/kexec-tools-2.0.19-r1.ebuild
similarity index 97%
copy from sys-apps/kexec-tools/kexec-tools-9999.ebuild
copy to sys-apps/kexec-tools/kexec-tools-2.0.19-r1.ebuild
index b2fcd90aca6..d9c36c6dcf7 100644
--- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.19-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
        
EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git";
 else
        SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz"
-       KEYWORDS="~amd64 ~arm64 ~x86"
+       KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="Load another kernel from the currently executing Linux kernel"

diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild 
b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
index b2fcd90aca6..d9c36c6dcf7 100644
--- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
        
EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git";
 else
        SRC_URI="mirror://kernel/linux/utils/kernel/kexec/${P}.tar.xz"
-       KEYWORDS="~amd64 ~arm64 ~x86"
+       KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="Load another kernel from the currently executing Linux kernel"

Reply via email to