mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-02 18:44:49 -05: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"],
|
embed = [":cmd_lib"],
|
||||||
# keep
|
# keep
|
||||||
# TODO(malt3): The commented out env variable
|
env = {
|
||||||
# means we are using `systemd-dissect` from the host.
|
"DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
||||||
# `systemd-dissect` from nixpkgs breaks GitHub actions runners
|
},
|
||||||
# for unknown reasons.
|
|
||||||
# Fix this.
|
|
||||||
# env = {
|
|
||||||
# "DISSECT_TOOLCHAIN": "$(rootpath @systemd//:bin/systemd-dissect)",
|
|
||||||
# },
|
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
@ -23,7 +23,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ukiPath = "/efi/EFI/BOOT/BOOTX64.EFI"
|
ukiPath = "/boot/EFI/BOOT/BOOTX64.EFI"
|
||||||
)
|
)
|
||||||
|
|
||||||
func precalculatePCRs(fs afero.Fs, dissectToolchain, imageFile string) (*measure.Simulator, error) {
|
func precalculatePCRs(fs afero.Fs, dissectToolchain, imageFile string) (*measure.Simulator, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user