Skip to content

Commit

Permalink
osresearch: heads-linuxboot: Make edk2 directory copy writable.
Browse files Browse the repository at this point in the history
* osresearch/packages/heads.scm (heads-linuxboot): Make edk2 directory copy
writable.
  • Loading branch information
Danny Milosavljevic committed Dec 1, 2020
1 parent 94e3416 commit 003531a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osresearch/packages/heads.scm
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,8 @@ include_directories(hidapi/hidapi)"))
(add-after 'unpack 'unpack-edk2
(lambda* (#:key inputs #:allow-other-keys)
(copy-recursively (assoc-ref inputs "edk2") "edk2")
;; The git checkout must be writable for tests.
(for-each make-file-writable (find-files "edk2" #:directories? #t))
;; Guix reproducibility had .git deleted, but the Makefile expects it as a (fake) dependency.
(call-with-output-file "edk2/.git"
(const #t))
Expand Down

0 comments on commit 003531a

Please sign in to comment.