-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Lenovo X1]: Created host-hardening profile & updated lanzaboote #708
Conversation
Created host-hardening profile which holds hardening configuration needed for the host. Also added secure boot configuration under host. By default host-hardening profile is disabled. Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
Updated lanzaboote package version to v0.4.1. Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
Lenovo-X1 debug image gets stuck at boot, same problem that Samuli first noticed here. I built the pr with |
Issue is seen with mainline ghaf commit c7eab7f as well. |
We confirmed that the issue is caused by mainline. It did not happen the first two times I tried, but both me and Samuli have now seen it in main too. #703 (comment) |
The root cause of the issue with ZFS pool is that ZFS keeps its metadata in the beginning and in the end of the storage device. When the media device is reflashed, this metadata does not match anymore. I made a PR with the flashing script that correctly wipes the target device before reflashing the image. |
Thanks @unbel13ver |
Tested on Lenovo-X1
|
Description of changes
Also added secure boot configuration under host. By default host-hardening profile is disabled.
Checklist for things done
x86_64
aarch64
riscv64
nix flake check --accept-flake-config
and it passesTesting
host-hardening.enable = true;
nixos-rebuild ... switch
sudo sbctl enroll-keys --microsoft
and reboot