me
/
guix
Archived
1
0
Fork 0

gnu: f2fs-tools-static: Work around bug in our util-linux.

* gnu/packages/linux.scm (f2fs-tools/static): Work around bug in our util-linux.
master
Danny Milosavljevic 2020-05-03 22:40:57 +02:00
parent bb357c509e
commit da09c63e78
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 8 additions and 1 deletions

View File

@ -4628,7 +4628,14 @@ disks and SD cards. This package provides the userland utilities.")
(append-to-file "mkfs/Makefile.am" "\nmkfs_f2fs_LDFLAGS = -all-static\n")
(append-to-file "fsck/Makefile.am" "\nfsck_f2fs_LDFLAGS = -all-static\n")
(append-to-file "tools/Makefile.am" "\nf2fscrypt_LDFLAGS = -all-static -luuid\n")
#t)))))
#t))
(add-after 'install 'remove-store-references
(lambda* (#:key outputs #:allow-other-keys)
;; Work around bug in our util-linux.
;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41019>.
(remove-store-references (string-append (assoc-ref outputs "out")
"/sbin/mkfs.f2fs"))
#t)))))
(inputs
`(("libuuid:static" ,util-linux "static")
("libuuid" ,util-linux)))))) ; for include files