~ruther/guix-local

9f8d6eb24a5f193683076e16ffb68da18a537140 — Ludovic Courtès 8 years ago 9a1bfe7
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.
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +6 -1
@@ 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)))))