Skip to content

Commit

Permalink
osresearch: heads-linuxboot: Set SHELL up for edk2.
Browse files Browse the repository at this point in the history
* osresearch/packages/heads.scm (heads-linuxboot)[arguments]<#:phases>[configure]: New phase.
  • Loading branch information
Danny Milosavljevic committed Dec 3, 2020
1 parent 960d2ea commit 2cf0ccd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions osresearch/packages/heads.scm
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,10 @@ include_directories(hidapi/hidapi)"))
(string-append "BOARD=" ,board))
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda _
(setenv "SHELL "bash")
#t))
(add-after 'unpack 'unpack-edk2
(lambda* (#:key inputs #:allow-other-keys)
(copy-recursively (assoc-ref inputs "edk2") "edk2")
Expand Down Expand Up @@ -868,8 +872,7 @@ include_directories(hidapi/hidapi)"))
;; FIXME: Make sure that initrd.cpio.xz is a multiple of 512 Byte long! (see Heads)
(invoke "xz" "-f" "--check=crc32" "--lzma2=dict=1MiB" "-9"
"initrd.cpio")
#t))
(delete 'configure))))
#t)))))
(propagated-inputs
`())
(native-inputs
Expand Down

0 comments on commit 2cf0ccd

Please sign in to comment.