From a73489e8a74bf5cbd85f0025c28610d098267b53 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 10 May 2018 11:24:18 +0200 Subject: gnu: android-f2fs-utils: Install mkf2fsuserimg.sh. * gnu/packages/android.scm (android-f2fs-utils)[arguments]<#:phases> [install-shell-scripts]: New phase. --- gnu/packages/android.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index ddfe90a6b4..763be48748 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -541,7 +541,16 @@ Android core.") (lambda* (#:key inputs outputs #:allow-other-keys) (copy-recursively "." (string-append (assoc-ref outputs "out") "/include")) - #t))))) + #t)) + (add-after 'install 'install-shell-scripts + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (patch-shebang "mkf2fsuserimg.sh") + (substitute* "mkf2fsuserimg.sh" + (("make_f2fs") (string-append bin "/make_f2fs"))) + (install-file "mkf2fsuserimg.sh" bin) + #t)))))) (inputs `(("f2fs-tools" ,f2fs-tools-1.7) ("android-libselinux" ,android-libselinux) -- cgit v1.2.3