From: raid5atemyhomework via Guix-patches via <guix-patches@gnu.org>
To: 45403@debbugs.gnu.org
Subject: [bug#45403] [PATCH] gnu: zfs: Split into packages specific for each of our major supported kernel versions.
Date: Thu, 24 Dec 2020 10:59:56 +0000 [thread overview]
Message-ID: <QOni976E4oF_Bx56oc2L5Im9eQEULdkhOEMfWenhX2u8POiAbkToPuAPRxLZt9jwivFuFe10BGkmc_-a1iInMYU9aBNopFeILMWrfzYKhEU=@protonmail.com> (raw)
Fixes: https://issues.guix.gnu.org/45401
Untested --- no idea how to repoint my guix to a temporary commit on my local file repo, would appreciate any guidance.
From 242ee858b057f1c3ca4a80c9c449f710c5b1ff96 Mon Sep 17 00:00:00 2001
From: raid5atemyhomework <raid5atemyhomework@protonmail.com>
Date: Thu, 24 Dec 2020 10:54:17 +0000
Subject: [PATCH] gnu: zfs: Split into packages specific for each of our major
supported kernel versions.
---
gnu/packages/file-systems.scm | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index af587f73fe..d3cdeda4fb 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -843,7 +843,7 @@ APFS.")
(home-page "https://github.com/sgan81/apfs-fuse")
(license license:gpl2+))))
-(define-public zfs
+(define zfs-base
(package
(name "zfs")
(version "0.8.5")
@@ -954,6 +954,35 @@ originally developed for Solaris and is now maintained by the OpenZFS
community.")
(license license:cddl1.0)))
+(define-public zfs
+ (package
+ (inherit zfs-base)
+ (description
+ (string-append (package-description zfs-base)
+ "
+
+This package is deprecated, use linux-VERSION-zfs packages instead."))))
+
+(define (make-linux-zfs linux-libre)
+ (package
+ (inherit zfs-base)
+ (arguments
+ `(#:linux ,linux-libre)
+ ,@(package-arguments zfs-base))
+ (description
+ (string-append (package-description zfs-base)
+ "
+
+This package will be compiled to work with the linux-libre "
+ (package-version linux-libre)
+ " kernel."))))
+
+(define-public linux-5.9-zfs (make-linux-zfs linux-libre-5.9))
+(define-public linux-5.4-zfs (make-linux-zfs linux-libre-5.4))
+(define-public linux-4.19-zfs (make-linux-zfs linux-libre-4.19))
+(define-public linux-4.14-zfs (make-linux-zfs linux-libre-4.14))
+(define-public linux-4.4-zfs (make-linux-zfs linux-libre-4.4))
+
(define-public mergerfs
(package
(name "mergerfs")
--
2.29.2
next reply other threads:[~2020-12-24 11:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-24 10:59 raid5atemyhomework via Guix-patches via [this message]
2020-12-24 20:41 ` [bug#45403] [PATCH] gnu: zfs: Split into packages specific for each of our major supported kernel versions Leo Famulari
2020-12-25 1:12 ` raid5atemyhomework via Guix-patches via
2020-12-25 4:09 ` Tobias Geerinckx-Rice via Guix-patches via
2021-01-04 13:58 ` Danny Milosavljevic
2021-01-04 15:49 ` raid5atemyhomework via Guix-patches via
2021-01-04 16:07 ` raid5atemyhomework via Guix-patches via
2021-01-04 16:32 ` raid5atemyhomework via Guix-patches via
2021-01-08 15:50 ` bug#45403: " raid5atemyhomework via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='QOni976E4oF_Bx56oc2L5Im9eQEULdkhOEMfWenhX2u8POiAbkToPuAPRxLZt9jwivFuFe10BGkmc_-a1iInMYU9aBNopFeILMWrfzYKhEU=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=45403@debbugs.gnu.org \
--cc=raid5atemyhomework@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).