From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42793) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j96ER-0000np-DK for guix-patches@gnu.org; Tue, 03 Mar 2020 07:01:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j96EQ-0008CA-3n for guix-patches@gnu.org; Tue, 03 Mar 2020 07:01:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j96EP-0008Bx-UZ for guix-patches@gnu.org; Tue, 03 Mar 2020 07:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j96EP-0000hN-Sa for guix-patches@gnu.org; Tue, 03 Mar 2020 07:01:01 -0500 Subject: [bug#39882] [PATCH 1/1] gnu: Add kexec-tools. Resent-Message-ID: From: Chris Marusich Date: Tue, 3 Mar 2020 03:59:37 -0800 Message-Id: <20200303115937.89609-1-cmmarusich@gmail.com> In-Reply-To: <20200303115628.89147-1-cmmarusich@gmail.com> References: <20200303115628.89147-1-cmmarusich@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39882@debbugs.gnu.org Cc: Chris Marusich * gnu/packages/linux.scm (kexec-tools): New variable. --- gnu/packages/linux.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0289047d27..fa9fdf759c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2019 Kei Kebreau ;;; Copyright © 2020 Oleg Pykhalov ;;; Copyright © 2020 Pierre Neidhardt +;;; Copyright © 2020 Chris Marusich ;;; ;;; This file is part of GNU Guix. ;;; @@ -6408,3 +6409,27 @@ user space tracer. It receives commands from a session daemon, for example to enable and disable specific instrumentation points, and writes event records to ring buffers shared with a consumer daemon.") (license license:lgpl2.1+))) + +(define-public kexec-tools + (package + (name "kexec-tools") + (version "2.0.20") + (source (origin + (method url-fetch) + (uri (string-append "https://mirrors.edge.kernel.org/pub/linux" + "/utils/kernel/kexec/kexec-tools-" version + ".tar.xz")) + (sha256 + (base32 + "1j7qlhxk1rbv9jbj8wd6hb7zl8p2mp29ymrmccgmsi0m0dzhgn6s")))) + (build-system gnu-build-system) + (arguments + ;; There are no automated tests. + '(#:tests? #f)) + (home-page "https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kexec/") + (synopsis "@code{kexec} and related tools for Linux kernels") + (description "This package provides the @code{kexec} program and ancillary +utilities. Using @code{kexec}, it is possible to boot directly into a new +Linux kernel from the context of an already-running Linux kernel, bypassing +the normal system boot process.") + (license license:gpl2))) -- 2.24.1