From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46164) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j96fX-0002fr-6f for guix-patches@gnu.org; Tue, 03 Mar 2020 07:29:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j96fW-0002Wx-0h for guix-patches@gnu.org; Tue, 03 Mar 2020 07:29:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j96fV-0002Wp-Mg for guix-patches@gnu.org; Tue, 03 Mar 2020 07:29:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j96fV-0001PE-Ix for guix-patches@gnu.org; Tue, 03 Mar 2020 07:29:01 -0500 Subject: [bug#39882] [PATCH 0/1] Add kexec-tools. Resent-Message-ID: Message-ID: <87zhcx4o7z.fsf@nckx> References: <20200303115628.89147-1-cmmarusich@gmail.com> In-reply-to: <20200303115628.89147-1-cmmarusich@gmail.com> Date: Tue, 03 Mar 2020 13:28:34 +0100 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via To: 39882@debbugs.gnu.org, Chris Marusich --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Chris, Chris Marusich =E5=86=99=E9=81=93=EF=BC=9A > I was kind of surprised to find that kexec-tools was not already > packaged. Is there a reason why it hasn't been packaged, or am=20 > I just > the first one to try packaging it? I was also surprised, having installed kexec-tools on Guix before=20 ;-) Turns out I never upstreamed it. There are probably 5 other=20 kexec-tools patches somewhere. Oh well. Your patch looks good to me. I prefer the home page below over a=20 directory listing. Feel free to crib what you like. Your synopsis/description imply that it's boot-Linux-only. I=20 don't think that's the case, but haven't tried others in practice. Thanks! T G-R commit 69a6d90a988f86e556b2fb39092755f88eb9d323 Author: Tobias Geerinckx-Rice Date: Thu Feb 8 16:13:57 2018 +0100 gnu: Add kexec-tools. =20=20=20=20 * gnu/packages/linux.scm (kexec-tools): New public variable. diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 303a85c7fd..1ebc8b1744 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4632,3 +4632,24 @@ text-mode or graphical applications that=20 don't use a display server. Also included is @command{fbgrab}, a wrapper around=20 @command{fbcat} that emulates the behaviour of Gunnar Monell's older fbgrab utility.") (license license:gpl2))) + +(define-public kexec-tools + (package + (name "kexec-tools") + (version "2.0.15") + (source + (origin + (method url-fetch) + (uri (string-append=20 "mirror://kernel.org/pub/linux/utils/kernel/kexec/" + "kexec-tools-" version ".tar.xz")) + (sha256 + (base32=20 "0ra8ph9m1dckqaikfnbsh408fp2w9k49fkl425fl2hvhwsm14xk6")))) + (build-system gnu-build-system) + (home-page "https://projects.horms.net/projects/kexec/") + (synopsis "Linux tools to directly execute different=20 kernels") + (description "This package provides tools to load a kernel=20 into memory and +reboot directly into it using the @code{kexec} system call,=20 bypassing the normal +boot process. @dfn{Kexec} is the mechanism by which both Linux=20 and Xen kernels +can support fast soft reboots and kernel crash dump analysis.") + (license license:gpl2))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl5eTXIACgkQ2Imw8BjF STx7LxAAm9N8ttlSNElvISAcIAT6VL8fenUE0/kLbS8okaXVB72bfpNXtnLbhGsu 4X9WjOFleSn8PByno6TnZqflHrHla8Mx9iND/UQQ+tAb+/axhKpVIxnGWikTxulw VOQxYLcX3wT+po7rV+qzKNV8eSc+fumNjiWZgzq0Hb1YafGd+4MSgZZ6Wc5usWCy PS1KA96exQtZekKoFfjopW2u7CavPjK7OnjdygdyUZGwW1xClHl/5CaU4D6d3k9j chHBMVXbtDtvrc3L5Mhop9m9tMsnJELFnZgxSqpGFDVFdlZaBn5MC4JcAicX3Bv+ yyUdWqQxF4y0uu1iPywSlMU66y2tOSpDNoKrlKD2RR13jckTTWYAklpaQaXEg7Mi ci9K4odE978D9zZl3A9sERj2rNzFHBcd/rTfnTDRWTjlGIVcoLziA8j7QNh+kJMs +Dw85lXE+K2cKYw8ramuEYQZmla4CDvnP1ExGhGKTCa+w0CeNceR5kshP9/6iaaI z6Mq1vJ3mUPW4KmF3QlApyJcUqNoHwvb4mJMkM/YmXUTw57LNRgcuWyyKHgZp8RF XpjjvANJzw8wbrVhNuyf6KflTJvTy4uJNfFbkyhBuZMx7PSRztJG3qzGh/tiePZa LiTomGAwql/sVTT5YT9wjwsn9gYUrPb6v5BotMoTV/FgIXYMauY= =urGe -----END PGP SIGNATURE----- --=-=-=--