Skip to content
Snippets Groups Projects
Commit e48977e7 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

gnu: e2fsck-static: Use really statically-linked executables.

* gnu/packages/linux.scm (e2fsprogs/static): New variable.
  (e2fsck/static): Use it in 'inputs'.
parent f327b36e
No related branches found
No related tags found
No related merge requests found
......@@ -562,6 +562,17 @@ (define-public e2fsprogs
lgpl2.0 ; libext2fs
x11)))) ; libuuid
(define e2fsprogs/static
(static-package
(package (inherit e2fsprogs)
(arguments
;; Do not build shared libraries.
(substitute-keyword-arguments (package-arguments e2fsprogs)
((#:configure-flags _)
'(list "--disable-blkid"))
((#:make-flags _)
'(list)))))))
(define-public e2fsck/static
(package
(name "e2fsck-static")
......@@ -587,7 +598,7 @@ (define-public e2fsck/static
(remove-store-references file)
(chmod file #o555))
(scandir source (cut string-prefix? "fsck." <>))))))))
(inputs `(("e2fsprogs" ,(static-package e2fsprogs))))
(inputs `(("e2fsprogs" ,e2fsprogs/static)))
(synopsis "Statically-linked fsck.* commands from e2fsprogs")
(description
"This package provides statically-linked command of fsck.ext[234] taken
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment