diff options
author | Kei Kebreau <kkebreau@posteo.net> | 2019-01-20 01:51:39 -0500 |
---|---|---|
committer | Kei Kebreau <kkebreau@posteo.net> | 2019-01-20 01:51:39 -0500 |
commit | 71f2b4b8f33fe0c0c5450566606992d3bc9f7773 (patch) | |
tree | 0923c8e8db2d18b7a7d0e7fe0b1ea839c1ce16f1 /gnu/packages/bootloaders.scm | |
parent | 93d137020b4dd2b670546b7525de08274cd2f81f (diff) | |
download | guix-71f2b4b8f33fe0c0c5450566606992d3bc9f7773.tar guix-71f2b4b8f33fe0c0c5450566606992d3bc9f7773.tar.gz |
gnu: vboot-utils: Install development keys.
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys'
phase.
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r-- | gnu/packages/bootloaders.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 1cf7720a73..a4b4f64783 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -729,7 +729,14 @@ board-independent tools."))) ".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) |