[PATCH] gnu: dosfstools: Enable compat symlinks.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Pierre Langlois
Owner
unassigned
Submitted by
Pierre Langlois
Severity
normal
P
P
Pierre Langlois wrote on 7 Jul 2019 14:29
(name . Guix-patches)(address . guix-patches@gnu.org)(name . Pierre Langlois)(address . pierre.langlois@gmx.com)
87imsehvt7.fsf@gmx.com
Hello Guix!

Here's a quick patch to dosfstools to include commands such 'mkfs.vfat',
'fsck.vfat', ...etc

Thanks!
Pierre
From 56376f9538ee6c333a92caccfc9eef626d499df0 Mon Sep 17 00:00:00 2001
From: Pierre Langlois <pierre.langlois@gmx.com>
Date: Sun, 7 Jul 2019 13:25:08 +0100
Subject: [PATCH] gnu: dosfstools: Enable compat symlinks.

Enable compatibility symlinks to provide commands such as `mkfs.vfat`.

* gnu/packages/disk.scm (dosfstools)[arguments]: Pass
"--enable-compat-symlinks" to configure.
---
gnu/packages/disk.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 06f4430b2d..187ef74b4e 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -236,7 +237,8 @@ to recover data more efficiently by only reading the necessary blocks.")
"0wy13i3i4x2bw1hf5m4fd0myh61f9bcrs035fdlf6gyc1jksrcp6"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (list (string-append "PREFIX=" %output)
+ `(#:configure-flags (list "--enable-compat-symlinks")
+ #:make-flags (list (string-append "PREFIX=" %output)
"CC=gcc")))
(native-inputs
`(("xxd" ,xxd))) ; for tests
--
2.22.0
L
L
Ludovic Courtès wrote on 8 Jul 2019 12:58
(name . Pierre Langlois)(address . pierre.langlois@gmx.com)(address . 36538-done@debbugs.gnu.org)
87ef30eqsd.fsf@gnu.org
Pierre Langlois <pierre.langlois@gmx.com> skribis:

Toggle quote (10 lines)
>>From 56376f9538ee6c333a92caccfc9eef626d499df0 Mon Sep 17 00:00:00 2001
> From: Pierre Langlois <pierre.langlois@gmx.com>
> Date: Sun, 7 Jul 2019 13:25:08 +0100
> Subject: [PATCH] gnu: dosfstools: Enable compat symlinks.
>
> Enable compatibility symlinks to provide commands such as `mkfs.vfat`.
>
> * gnu/packages/disk.scm (dosfstools)[arguments]: Pass
> "--enable-compat-symlinks" to configure.

Applied, thanks!

Ludo'.
Closed
?