summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-02-20 19:24:25 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-02-20 19:36:01 +0200
commit71122981cb6136473227c5c21d6d69cbe13f1907 (patch)
treedc36a91a53018ac02baf175200365e7433b963b8
parentadeb7e4d1fa332e0b145fa6e84b0c51c70a66b6a (diff)
gnu: libblockdev: Allow building on riscv64-linux.
* gnu/packages/disk.scm (libblockdev)[inputs]: Only add multipath-tools on systems which are supported. Change-Id: Ie79a78bfdf0147589494a0a1a39e4ff45fefbbee
-rw-r--r--gnu/packages/disk.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index b429e40bd2e..c19d94760c7 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -3,7 +3,7 @@
3;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org> 3;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org>
4;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> 4;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
5;;; Copyright © 2016, 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr> 5;;; Copyright © 2016, 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
6;;; Copyright © 2016, 2019-2021, 2023 Efraim Flashner <efraim@flashner.co.il> 6;;; Copyright © 2016, 2019-2021, 2023, 2025 Efraim Flashner <efraim@flashner.co.il>
7;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen <janneke@gnu.org> 7;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
8;;; Copyright © 2016 Roel Janssen <roel@gnu.org> 8;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
9;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com> 9;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -1249,6 +1249,9 @@ to create devices with respective mappings for the ATARAID sets discovered.")
1249 (inputs 1249 (inputs
1250 (append 1250 (append
1251 (cons cryptsetup (libcryptsetup-propagated-inputs)) 1251 (cons cryptsetup (libcryptsetup-propagated-inputs))
1252 (if (supported-package? multipath-tools)
1253 (list multipath-tools)
1254 '())
1252 (list bcache-tools 1255 (list bcache-tools
1253 btrfs-progs 1256 btrfs-progs
1254 dosfstools 1257 dosfstools
@@ -1264,7 +1267,6 @@ to create devices with respective mappings for the ATARAID sets discovered.")
1264 libyaml 1267 libyaml
1265 lvm2 1268 lvm2
1266 mdadm 1269 mdadm
1267 multipath-tools
1268 ndctl 1270 ndctl
1269 nss 1271 nss
1270 ntfs-3g 1272 ntfs-3g