[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add f2fs-fsck-static.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add f2fs-fsck-static. |
Date: |
Sun, 03 May 2020 06:08:13 -0400 |
This is an automated email from the git hooks/post-receive script.
dannym pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new a5cf52d gnu: Add f2fs-fsck-static.
a5cf52d is described below
commit a5cf52d3aa31717a8ae0c2cbbc4b848266ed7818
Author: raingloom <address@hidden>
AuthorDate: Fri Apr 3 04:18:26 2020 +0200
gnu: Add f2fs-fsck-static.
* gnu/packages/linux.scm (f2fs-fsck/static): New public variable.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
gnu/packages/linux.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index df44292..f7c42ff 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4633,6 +4633,38 @@ disks and SD cards. This package provides the userland
utilities.")
`(("libuuid:static" ,util-linux "static")
("libuuid" ,util-linux)))))) ; for include files
+(define-public f2fs-fsck/static
+ (package
+ (name "f2fs-fsck-static")
+ (version (package-version f2fs-tools/static))
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils)
+ (ice-9 ftw)
+ (srfi srfi-26))
+ (let* ((f2fs-tools (assoc-ref %build-inputs "f2fs-tools-static"))
+ (fsck "fsck.f2fs")
+ (out (assoc-ref %outputs "out"))
+ (sbin (string-append out "/sbin")))
+ (mkdir-p sbin)
+ (with-directory-excursion sbin
+ (install-file (string-append f2fs-tools "/sbin/" fsck)
+ ".")
+ (remove-store-references fsck)
+ (chmod fsck #o555))
+ #t))))
+ (inputs
+ `(("f2fs-tools-static" ,f2fs-tools/static)))
+ (home-page (package-home-page f2fs-tools/static))
+ (synopsis "Statically-linked fsck.f2fs command from f2fs-tools")
+ (description "This package provides statically-linked fsck.f2fs command
taken
+from the f2fs-tools package. It is meant to be used in initrds.")
+ (license (package-license f2fs-tools/static))))
+
(define-public freefall
(package
(name "freefall")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add f2fs-fsck-static.,
guix-commits <=