Improve UKI detection#46
Merged
Merged
Conversation
ayaegashi
reviewed
Jul 22, 2025
ayaegashi
previously approved these changes
Jul 22, 2025
ndubchak
reviewed
Jul 22, 2025
ndubchak
previously approved these changes
Jul 22, 2025
bfjelds
previously approved these changes
Jul 23, 2025
3610717 to
327d0d0
Compare
bfjelds
approved these changes
Jul 25, 2025
alejandro-microsoft
pushed a commit
that referenced
this pull request
Aug 4, 2025
bfjelds
added a commit
that referenced
this pull request
May 25, 2026
Fixes from frhuelsz code review: - grub_cfg: skip $variable references during partition extraction (#30) - users: use * lock marker instead of ! for AZL UsePAM=no (#31) - users: fsync + parent dir sync in atomic_write_file (#33) - users: propagate unexpected errors from check_user_exists (#36) - users: explicitly lock new users when no password set (#43) - users: skip set_primary_group for new users (useradd -g suffices) (#46) - users: named constants for shadow/passwd field indices (#41) - users: named constants for SSH dir/file permissions (#52) - config: add deny_unknown_fields to remaining serde structs (#38) - config: doc comment on PasswordType intentional reduction (#37) - services: error on non-UTF-8 root path instead of silent fallback (#51) - modules: document intentional Disable fidelity fix vs Go (#50) - selinux: doc comment clarifying non-overlapping call paths (#45) - lib: update OsModifierContext doc for MOS config path (#54) - lib: add caller invariant doc on modify_os for UKI (#32) - lib: add BootTarget enum note for future UKI-awareness (#53) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR changes code to only check for the UKI internal param once and modifies rollback logic to use the LoaderEntrySelected UEFI variable to determine whether the the system booted via UKI.