mirror of
https://git.launchpad.net/~ubuntu-qt-code/+git/calamares-settings-ubuntu
synced 2026-02-24 09:53:27 +00:00
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
# Make sure the correct bootloader package is installed for EFI.
|
|
# Also pull in shim so secureboot has a chance at working.
|
|
# Because of edge cases, we ignore BIOS, and do the same
|
|
# procedure for all EFI types.
|
|
---
|
|
firmwareType:
|
|
bios: "-/bin/true"
|
|
"*":
|
|
- command: mkdir /tmp/calamares-cdrom-sources
|
|
timeout: 10
|
|
- command: cp /etc/apt/sources.list.d/cdrom.sources /tmp/calamares-cdrom-sources/
|
|
timeout: 10
|
|
- command: apt-get -o Dir::Etc::sourceparts=/tmp/calamares-cdrom-sources update
|
|
timeout: 10800
|
|
- command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-$(if grep -q 64 /sys/firmware/efi/fw_platform_size; then echo amd64-signed; else echo ia32; fi)
|
|
timeout: 10800
|
|
- command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed
|
|
timeout: 10800
|
|
- command: rm /tmp/calamares-cdrom-sources/cdrom.sources
|
|
timeout: 10
|
|
- command: rmdir /tmp/calamares-cdrom-sources
|
|
timeout: 10
|