summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-16 21:07:31 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-16 21:11:55 +0100
commite48977e755767232a3ce3f0dc3f9d44c735c5ffe (patch)
treee454a2f4ed85f0150c0e3fc3ee4a4d85ba364e12 /gnu
parentf327b36edb1f754ddf5057959eaa26679e808687 (diff)
gnu: e2fsck-static: Use really statically-linked executables.
* gnu/packages/linux.scm (e2fsprogs/static): New variable. (e2fsck/static): Use it in 'inputs'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f8bb6e2c1f0..4973b27f626 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -562,6 +562,17 @@ slabtop, and skill.")
562 lgpl2.0 ; libext2fs 562 lgpl2.0 ; libext2fs
563 x11)))) ; libuuid 563 x11)))) ; libuuid
564 564
565(define e2fsprogs/static
566 (static-package
567 (package (inherit e2fsprogs)
568 (arguments
569 ;; Do not build shared libraries.
570 (substitute-keyword-arguments (package-arguments e2fsprogs)
571 ((#:configure-flags _)
572 '(list "--disable-blkid"))
573 ((#:make-flags _)
574 '(list)))))))
575
565(define-public e2fsck/static 576(define-public e2fsck/static
566 (package 577 (package
567 (name "e2fsck-static") 578 (name "e2fsck-static")
@@ -587,7 +598,7 @@ slabtop, and skill.")
587 (remove-store-references file) 598 (remove-store-references file)
588 (chmod file #o555)) 599 (chmod file #o555))
589 (scandir source (cut string-prefix? "fsck." <>)))))))) 600 (scandir source (cut string-prefix? "fsck." <>))))))))
590 (inputs `(("e2fsprogs" ,(static-package e2fsprogs)))) 601 (inputs `(("e2fsprogs" ,e2fsprogs/static)))
591 (synopsis "Statically-linked fsck.* commands from e2fsprogs") 602 (synopsis "Statically-linked fsck.* commands from e2fsprogs")
592 (description 603 (description
593 "This package provides statically-linked command of fsck.ext[234] taken 604 "This package provides statically-linked command of fsck.ext[234] taken