[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/48: gnu: parted: Support building for the Hurd.
From: |
guix-commits |
Subject: |
15/48: gnu: parted: Support building for the Hurd. |
Date: |
Sun, 4 Jun 2023 07:43:43 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 675e40590443e06a5398e6e36ae76cc3491308c6
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue May 23 14:29:21 2023 +0200
gnu: parted: Support building for the Hurd.
* gnu/packages/disk.scm (parted)[inputs]: Remove lvm2, add hurd-minimal
when building for the Hurd.
[arguments]: Add configure-flag '--disable-device-mapper' when building for
the Hurd.
---
gnu/packages/disk.scm | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 894a542171..0d84974ef5 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
@@ -67,6 +67,7 @@
#:use-module (gnu packages graphics)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
+ #:use-module (gnu packages hurd)
#:use-module (gnu packages image)
#:use-module (gnu packages linux)
#:use-module (gnu packages ncurses)
@@ -249,17 +250,24 @@ tmpfs/ramfs filesystems.")
"18h51i3x5cbqhlj5rm23m9sfw63gaaby5czln5w6qpqj3ifdsf29"))))
(build-system gnu-build-system)
(arguments
- (list #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-locales-and-python
- (lambda _
- (substitute* "tests/t0251-gpt-unicode.sh"
- (("C.UTF-8") "en_US.utf8")) ;not in Glibc locales
- (substitute* "tests/msdos-overlap"
- (("/usr/bin/python") (which "python"))))))))
+ (list
+ #:configure-flags (if (hurd-target?)
+ #~'("--disable-device-mapper")
+ #~'())
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-locales-and-python
+ (lambda _
+ (substitute* "tests/t0251-gpt-unicode.sh"
+ (("C.UTF-8") "en_US.utf8")) ;not in Glibc locales
+ (substitute* "tests/msdos-overlap"
+ (("/usr/bin/python") (which "python"))))))))
(inputs
- (list lvm2 readline
- `(,util-linux "lib")))
+ `(,@(if (hurd-target?)
+ (list hurd-minimal)
+ (list lvm2))
+ ,readline
+ (,util-linux "lib")))
(native-inputs
(list gettext-minimal
- 12/48: gnu: hurd: Update libpciaccess to 0.17., (continued)
- 12/48: gnu: hurd: Update libpciaccess to 0.17., guix-commits, 2023/06/04
- 19/48: system: hurd: Boot with pci.arbiter and rumpdisk., guix-commits, 2023/06/04
- 23/48: hurd-boot: Cater for netdde., guix-commits, 2023/06/04
- 26/48: gnu: gnumach: Disable builtin networking., guix-commits, 2023/06/04
- 32/48: gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., guix-commits, 2023/06/04
- 34/48: gnu: commencement: glibc-final: Use libc-for-target for source too., guix-commits, 2023/06/04
- 45/48: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/06/04
- 33/48: gnu: commencement: glibc-final-with-bootstrap-bash: Use libc-for-target., guix-commits, 2023/06/04
- 46/48: DRAFT hurd: Support second boot., guix-commits, 2023/06/04
- 05/48: gnu: Add libc-for-target and glibc/hurd., guix-commits, 2023/06/04
- 15/48: gnu: parted: Support building for the Hurd.,
guix-commits <=
- 11/48: gnu: Add libpciaccess-0.17., guix-commits, 2023/06/04
- 09/48: Revert "hurd-boot: Add urandom and default-pager translators.", guix-commits, 2023/06/04
- 29/48: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/06/04
- 04/48: gnu: hurd: Update supported systems., guix-commits, 2023/06/04
- 22/48: gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1., guix-commits, 2023/06/04
- 13/48: gnu: Add rumpkernel., guix-commits, 2023/06/04
- 37/48: gnu: coreutils: Skip hanging and failing test for the Hurd., guix-commits, 2023/06/04
- 10/48: squash! gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., guix-commits, 2023/06/04
- 06/48: gnu: gnumach: Update to 1.8+git20221224., guix-commits, 2023/06/04
- 27/48: gnu: commencement: Add autoconf-boot0., guix-commits, 2023/06/04