guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: unionfs-fuse-static: Remove 'unionfsctl' executable.


From: Ludovic Courtès
Subject: 02/03: gnu: unionfs-fuse-static: Remove 'unionfsctl' executable.
Date: Sat, 20 May 2017 19:26:50 -0400 (EDT)

civodul pushed a commit to branch version-0.13.0
in repository guix.

commit 324499184a13e8f27d9805d5db2b133380e69bfe
Author: Ludovic Courtès <address@hidden>
Date:   Sun May 21 01:07:17 2017 +0200

    gnu: unionfs-fuse-static: Remove 'unionfsctl' executable.
    
    This avoids pulling in glibc & co.  Fixes a regression introduced in
    2f861edf5cf5118ad560737343312c9a5efe5b2f (the 'unionfsctl' executable
    did not exist in unionfs-fuse 0.26).
    
    * gnu/packages/linux.scm (unionfs-fuse/static)[arguments]
    <post-install>: Remove 'unionfsctl' binary.
---
 gnu/packages/linux.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 7bb26c7..cd2c833 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1568,7 +1568,12 @@ UnionFS-FUSE additionally supports copy-on-write.")
                           (exe (string-append out "/bin/unionfs")))
                      ;; By default, 'unionfs' keeps references to
                      ;; $glibc/share/locale and similar stuff.  Remove them.
-                     (remove-store-references exe)))
+                     (remove-store-references exe)
+
+                     ;; 'unionfsctl' has references to glibc as well.  Since
+                     ;; we don't need it, remove it.
+                     (delete-file (string-append out "/bin/unionfsctl"))
+                     #t))
                  %standard-phases)))
     (inputs `(("fuse" ,fuse-static)))))
 



reply via email to

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