Skip to content
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

Fix UEFI Restore #29

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Fix UEFI Restore #29

merged 2 commits into from
Jul 3, 2024

Conversation

ydirson
Copy link
Collaborator

@ydirson ydirson commented Jul 3, 2024

Sister PR to xenserver#151

This fixes a regression introduced in e9d686a.

This is not sufficient however to get Restore to work un UEFI, as
setEfiBootEntry() assumes `mounts['efi']` is populated, which is not
the case (only `backend.mountVolumes()` would set that).

Signed-off-by: Yann Dirson <[email protected]>
@ydirson ydirson requested review from stormi and benjamreis July 3, 2024 13:06
Commit 29c7bb5 introduced assumption
that `mounts` has a `esp` key, which was not the case when called from
`restoreFromBackup`.  This makes sure the key is created.

Signed-off-by: Yann Dirson <[email protected]>
@ydirson ydirson merged commit 1a2a73f into 10.10.19-8.3 Jul 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants