gnu: unionfs-fuse-static: Remove 'unionfsctl' executable.

This avoids pulling in glibc & co.  Fixes a regression introduced in
2f861edf5c (the 'unionfsctl' executable
did not exist in unionfs-fuse 0.26).

* gnu/packages/linux.scm (unionfs-fuse/static)[arguments]
<post-install>: Remove 'unionfsctl' binary.
This commit is contained in:
Ludovic Courtès 2017-05-21 01:07:17 +02:00
parent 9a1bfe7648
commit 9f8d6eb24a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1568,7 +1568,12 @@ (define-public unionfs-fuse/static
(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)))))