Update to Debian trixie

This commit is contained in:
Jan Schär 2026-03-21 09:45:05 +01:00
parent 7a83c50208
commit 6118557715
12 changed files with 193 additions and 140 deletions

View file

@ -41,17 +41,8 @@ if efibootmgr --quiet; then
efibootmgr --bootnum 0150 --delete-bootnum || true
efibootmgr --bootnum 0151 --delete-bootnum || true
# efibootmgr --create-only --bootnum 0150 --label "Removable media" --file-dev-path --loader '\EFI\BOOT\BOOTx64.EFI'
# efibootmgr --create-only --bootnum 0151 --label "Debian" --file-dev-path --loader '\EFI\debian\shimx64.efi'
# The version of efibootmgr in bookworm does not support the --file-dev-path
# argument, so here are commands that directly write to efivarfs.
# When upgrading from bookworm to trixie, remove the commands below and
# uncomment the commands above.
echo "BwAAAAEAAAA0AFIAZQBtAG8AdgBhAGIAbABlACAAbQBlAGQAaQBhAAAABAQwAFwARQBGAEkAXABCAE8ATwBUAFwAQgBPAE8AVAB4ADYANAAuAEUARgBJAAAAf/8EAA==" | \
base64 --decode - > /sys/firmware/efi/efivars/Boot0150-8be4df61-93ca-11d2-aa0d-00e098032b8c
echo "BwAAAAEAAAA4AEQAZQBiAGkAYQBuAAAABAQ0AFwARQBGAEkAXABkAGUAYgBpAGEAbgBcAHMAaABpAG0AeAA2ADQALgBlAGYAaQAAAH//BAA=" | \
base64 --decode - > /sys/firmware/efi/efivars/Boot0151-8be4df61-93ca-11d2-aa0d-00e098032b8c
efibootmgr --create-only --bootnum 0150 --label "Removable media" --file-dev-path --loader '\EFI\BOOT\BOOTx64.EFI'
efibootmgr --create-only --bootnum 0151 --label "Debian" --file-dev-path --loader '\EFI\debian\shimx64.efi'
efibootmgr --bootorder 0150,0151
fi