mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: android-f2fs-utils: Install mkf2fsuserimg.sh.
* gnu/packages/android.scm (android-f2fs-utils)[arguments]<#:phases> [install-shell-scripts]: New phase.
This commit is contained in:
parent
51eb4a6e67
commit
a73489e8a7
1 changed files with 10 additions and 1 deletions
|
@ -541,7 +541,16 @@ (define-public android-f2fs-utils
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue