all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#45374] [PATCH] gnu: udisks: Add dosfstools to PATH with wrapper.
@ 2020-12-22 22:21 John Doe
       [not found] ` <handler.45374.B.160867571524131.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: John Doe @ 2020-12-22 22:21 UTC (permalink / raw)
  To: 45374; +Cc: John Doe

* gnu/packages/freedesktop.scm (udisks):
[inputs]: Add dosfstools.
[arguments]: Modify 'wrap-udisksd phase to add dosfstools in PATH with
wrapper.
---
 gnu/packages/freedesktop.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 3c4ad57a15..1104a07955 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1112,6 +1112,7 @@ Analysis and Reporting Technology) functionality.")
     (inputs
      `(("acl" ,acl)
        ("cryptsetup" ,cryptsetup)
+       ("dosfstools" ,dosfstools)
        ("libatasmart" ,libatasmart)
        ("libblockdev" ,libblockdev)
        ("libgudev" ,libgudev)
@@ -1163,6 +1164,7 @@ Analysis and Reporting Technology) functionality.")
              (let ((out   (assoc-ref outputs "out"))
                    (utils (assoc-ref inputs "util-linux"))
                    (cryptsetup (assoc-ref inputs "cryptsetup"))
+                   (dosfstools (assoc-ref inputs "dosfstools"))
                    (parted (assoc-ref inputs "parted")))
                (wrap-program (string-append out "/libexec/udisks2/udisksd")
                  `("PATH" ":" prefix
@@ -1170,6 +1172,8 @@ Analysis and Reporting Technology) functionality.")
                     ;; cryptsetup is required for setting encrypted
                     ;; partitions, e.g. in gnome-disks
                     ,(string-append cryptsetup "/sbin")
+                    ;; Required to format FAT file systems in gnome-disks
+                    ,(string-append dosfstools "/sbin")
                     "/run/current-system/profile/bin"
                     "/run/current-system/profile/sbin")))
                #t))))))
-- 
2.29.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#45374] [PATCH] gnu: udisks: Add dosfstools to PATH with wrapper.
       [not found] ` <handler.45374.B.160867571524131.ack@debbugs.gnu.org>
@ 2020-12-22 22:44   ` dftxbs3e
  0 siblings, 0 replies; 2+ messages in thread
From: dftxbs3e @ 2020-12-22 22:44 UTC (permalink / raw)
  To: 45374

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

Looks like there has already been some discussion about this: 
https://issues.guix.gnu.org/41247

So what do we do?

Patch libblockdev to use full paths or give it to udisksd's
environment?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-22 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 22:21 [bug#45374] [PATCH] gnu: udisks: Add dosfstools to PATH with wrapper John Doe
     [not found] ` <handler.45374.B.160867571524131.ack@debbugs.gnu.org>
2020-12-22 22:44   ` dftxbs3e

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.