mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: e2fsprogs: Use 'static-package' for the statically-linked variant.
* gnu/packages/linux.scm (e2fsprogs/static): Remove. (e2fsck/static): Use (static-package e2fsprogs) instead.
This commit is contained in:
parent
fd42e6b803
commit
0997771ac1
1 changed files with 4 additions and 13 deletions
|
@ -467,19 +467,10 @@ (define-public e2fsprogs
|
||||||
lgpl2.0 ; libext2fs
|
lgpl2.0 ; libext2fs
|
||||||
x11)))) ; libuuid
|
x11)))) ; libuuid
|
||||||
|
|
||||||
(define-public e2fsprogs/static
|
|
||||||
(package (inherit e2fsprogs)
|
|
||||||
(name "e2fsprogs-static")
|
|
||||||
(arguments
|
|
||||||
`(#:configure-flags '("LDFLAGS=-static")
|
|
||||||
,@(package-arguments e2fsprogs)))
|
|
||||||
(synopsis
|
|
||||||
"Statically-linked version of the ext2/ext3/ext4 file system tools")))
|
|
||||||
|
|
||||||
(define-public e2fsck/static
|
(define-public e2fsck/static
|
||||||
(package
|
(package
|
||||||
(name "e2fsck-static")
|
(name "e2fsck-static")
|
||||||
(version (package-version e2fsprogs/static))
|
(version (package-version e2fsprogs))
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(source #f)
|
(source #f)
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -501,13 +492,13 @@ (define-public e2fsck/static
|
||||||
(remove-store-references file)
|
(remove-store-references file)
|
||||||
(chmod file #o555))
|
(chmod file #o555))
|
||||||
(scandir source (cut string-prefix? "fsck." <>))))))))
|
(scandir source (cut string-prefix? "fsck." <>))))))))
|
||||||
(inputs `(("e2fsprogs" ,e2fsprogs/static)))
|
(inputs `(("e2fsprogs" ,(static-package e2fsprogs))))
|
||||||
(synopsis "Statically-linked fsck.* commands from e2fsprogs")
|
(synopsis "Statically-linked fsck.* commands from e2fsprogs")
|
||||||
(description
|
(description
|
||||||
"This package provides statically-linked command of fsck.ext[234] taken
|
"This package provides statically-linked command of fsck.ext[234] taken
|
||||||
from the e2fsprogs package. It is meant to be used in initrds.")
|
from the e2fsprogs package. It is meant to be used in initrds.")
|
||||||
(home-page (package-home-page e2fsprogs/static))
|
(home-page (package-home-page e2fsprogs))
|
||||||
(license (package-license e2fsprogs/static))))
|
(license (package-license e2fsprogs))))
|
||||||
|
|
||||||
(define-public strace
|
(define-public strace
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue