mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
image: use dissect from nix (#2558)
This commit is contained in:
parent
ac4ac6a148
commit
4fe51cd5f4
@ -21,13 +21,8 @@ go_binary(
|
||||
],
|
||||
embed = [":cmd_lib"],
|
||||
# keep
|
||||
# TODO(malt3): The commented out env variable
|
||||
# means we are using `systemd-dissect` from the host.
|
||||
# `systemd-dissect` from nixpkgs breaks GitHub actions runners
|
||||
# for unknown reasons.
|
||||
# Fix this.
|
||||
# env = {
|
||||
# "DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
||||
# },
|
||||
env = {
|
||||
"DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
||||
},
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
ukiPath = "/efi/EFI/BOOT/BOOTX64.EFI"
|
||||
ukiPath = "/boot/EFI/BOOT/BOOTX64.EFI"
|
||||
)
|
||||
|
||||
func precalculatePCRs(fs afero.Fs, dissectToolchain, imageFile string) (*measure.Simulator, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user