|
|
|
@ -2,16 +2,17 @@
|
|
|
|
|
# Also pull in shim so secureboot has a chance at working.
|
|
|
|
|
---
|
|
|
|
|
firmwareType:
|
|
|
|
|
efi:
|
|
|
|
|
- command: apt-cdrom add -m -d=/media/cdrom/
|
|
|
|
|
timeout: 10
|
|
|
|
|
- command: apt-get update
|
|
|
|
|
timeout: 120
|
|
|
|
|
- command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-amd64-signed
|
|
|
|
|
timeout: 300
|
|
|
|
|
- command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed
|
|
|
|
|
timeout: 300
|
|
|
|
|
- command: sed -i '/deb cdrom/d' /etc/apt/sources.list
|
|
|
|
|
timeout: 10
|
|
|
|
|
- command: apt-get update
|
|
|
|
|
timeout: 120
|
|
|
|
|
bios: /bin/false
|
|
|
|
|
"*":
|
|
|
|
|
- command: apt-cdrom add -m -d=/media/cdrom/
|
|
|
|
|
timeout: 10
|
|
|
|
|
- command: apt-get update
|
|
|
|
|
timeout: 120
|
|
|
|
|
- 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: 300
|
|
|
|
|
- command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed
|
|
|
|
|
timeout: 300
|
|
|
|
|
- command: sed -i '/deb cdrom/d' /etc/apt/sources.list
|
|
|
|
|
timeout: 10
|
|
|
|
|
- command: apt-get update
|
|
|
|
|
timeout: 120
|
|
|
|
|