emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#31569: closed ([PATCH] gnu: ntfs-3g: Link 'mount.n


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31569: closed ([PATCH] gnu: ntfs-3g: Link 'mount.ntfs' to 'mount.ntfs-3g'.)
Date: Thu, 24 May 2018 20:18:02 +0000

Your message dated Thu, 24 May 2018 22:17:47 +0200
with message-id <address@hidden>
and subject line Re: [bug#31569] [PATCH] gnu: ntfs-3g: Link 'mount.ntfs' to 
'mount.ntfs-3g'.
has caused the debbugs.gnu.org bug report #31569,
regarding [PATCH] gnu: ntfs-3g: Link 'mount.ntfs' to 'mount.ntfs-3g'.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31569: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31569
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: ntfs-3g: Link 'mount.ntfs' to 'mount.ntfs-3g'. Date: Wed, 23 May 2018 14:42:36 +0200
* gnu/packages/linux.scm (ntfs-3g)[arguments]: Add #:phases.
---
 gnu/packages/linux.scm | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0c58b90f1..1f9f45799 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3439,7 +3439,19 @@ from userspace.")
                                "--with-fuse=external" ;use our own FUSE
                                "--enable-mount-helper"
                                "--enable-posix-acls"
-                               "--enable-xattr-mappings")))
+                               "--enable-xattr-mappings")
+       #:phases
+       (modify-phases %standard-phases
+         ;; If users install ntfs-3g, they probably want to make it the
+         ;; default driver as well, so we opt for sensible defaults and link
+         ;; mount.ntfs to mount.ntfs-3g.  (libmount tries to run mount.ntfs to
+         ;; mount NTFS filesystems.)
+         (add-after 'install 'install-link
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (sbin (string-append out "/sbin")))
+               (symlink (string-append sbin "/mount.ntfs-3g")
+                        (string-append sbin "/mount.ntfs"))))))))
     (home-page "https://www.tuxera.com/community/open-source-ntfs-3g/";)
     (synopsis "Read-write access to NTFS file systems")
     (description
-- 
2.17.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#31569] [PATCH] gnu: ntfs-3g: Link 'mount.ntfs' to 'mount.ntfs-3g'. Date: Thu, 24 May 2018 22:17:47 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Pierre Neidhardt <address@hidden> skribis:

> * gnu/packages/linux.scm (ntfs-3g)[arguments]: Add #:phases.

Makes a lot of sense.  Applied with the change below, thanks!

Ludo’.

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f2a9ef0f6..40b4ee09c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3443,7 +3443,7 @@ from userspace.")
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
                     (sbin (string-append out "/sbin")))
-               (symlink (string-append sbin "/mount.ntfs-3g")
+               (symlink "mount.ntfs-3g"
                         (string-append sbin "/mount.ntfs"))))))))
     (home-page "https://www.tuxera.com/community/open-source-ntfs-3g/";)
     (synopsis "Read-write access to NTFS file systems")

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]