mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: vboot-utils: Install development keys.
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys' phase.
This commit is contained in:
parent
93d137020b
commit
71f2b4b8f3
1 changed files with 8 additions and 1 deletions
|
@ -729,7 +729,14 @@ (define-public vboot-utils
|
|||
".drv-0/source")))
|
||||
;; Tests require write permissions to many of these files.
|
||||
(for-each make-file-writable (find-files "tests/futility"))
|
||||
#t)))
|
||||
#t))
|
||||
(add-after 'install 'install-devkeys
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(share (string-append out "/share/vboot-utils")))
|
||||
(copy-recursively "tests/devkeys"
|
||||
(string-append share "/devkeys"))
|
||||
#t))))
|
||||
#:test-target "runtests"))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
|
|
Loading…
Reference in a new issue