Skip to content

Commit

Permalink
Merge pull request #2714 from bcressey/expose-efivars
Browse files Browse the repository at this point in the history
expose efi variables to privileged host containers
  • Loading branch information
bcressey authored Jan 9, 2023
2 parents 5efb66c + 63ac2fe commit 756f33c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/systemd/systemd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ CONFIGURE_OPTS=(
-Dhibernate=false
-Dldconfig=true
-Dresolve=false
-Defi=false
-Defi=true
-Dtpm=false
-Denvironment-d=false
-Dbinfmt=false
Expand Down
6 changes: 6 additions & 0 deletions sources/host-ctr/cmd/host-ctr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,12 @@ func withPrivilegedMounts() oci.SpecOpts {
Source: "/usr/src/kernels",
Type: "bind",
},
{
Options: []string{"rbind"},
Destination: "/sys/firmware",
Source: "/sys/firmware",
Type: "bind",
},
{
Options: []string{"rbind"},
Destination: "/sys/kernel/debug",
Expand Down

0 comments on commit 756f33c

Please sign in to comment.