--- Begin Message ---
Subject: |
[PATCH] gnu: Add f2fs-tools. |
Date: |
Sat, 29 Jul 2017 13:32:06 +0200 |
* gnu/packages/linux.scm (f2fs-tools): New variable.
---
gnu/packages/linux.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d0504f823..4e2216b03 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3170,6 +3170,43 @@ repair and easy administration.")
from the btrfs-progs package. It is meant to be used in initrds.")
(license (package-license btrfs-progs))))
+(define-public f2fs-tools
+ (package
+ (name "f2fs-tools")
+ (version "1.8.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://git.kernel.org/cgit/linux/kernel/git/jaegeuk"
+ "/f2fs-tools.git/snapshot/" name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bir9ladb58ijlcvrjrq1fb1xv5ys50zdjaq0yzliib0apsyrnyl"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'bootstrap
+ (lambda _
+ (zero? (system* "autoreconf" "-vif")))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libuuid" ,util-linux)))
+ (home-page "https://f2fs.wiki.kernel.org/")
+ (synopsis "Userland tools for f2fs")
+ (description
+ "F2FS, the Flash-Friendly File System, is a modern file system
+designed to be fast and durable on flash devices such as solid-state
+disks and SD cards. This package provides utilities to create and
+manage f2fs file systems.")
+ ;; The formatting utility, libf2fs and include/f2fs_fs.h is dual
+ ;; GPL2/LGPL2.1, everything else is GPL2 only. See 'COPYING'.
+ (license (list license:gpl2 license:lgpl2.1))))
+
(define-public freefall
(package
(name "freefall")
--
2.13.3
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#27868] [PATCH] gnu: Add f2fs-tools. |
Date: |
Tue, 22 Aug 2017 23:24:54 +0200 |
User-agent: |
Notmuch/0.25 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) |
Arun Isaac <address@hidden> writes:
> Thanks for the patch!
Thanks for checking! I didn't actually get around to try it properly
before today. It works (and I've been running /gnu/store off f2fs for a
few months on a foreign distro w/o problems).
Pushed as 2e4569829e12afd23bb4671704a6f48c6b29c786.
signature.asc
Description: PGP signature
--- End Message ---