mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 18:57:04 +00:00
5bc2bc88e4
-qemu-coreboot-*whiptail-tpm1(-hotp) boards have 'export CONFIG_DEBUG_OUTPUT=y' by default now
16 lines
255 B
Bash
Executable File
16 lines
255 B
Bash
Executable File
#!/bin/sh
|
|
# Boot a USB installation
|
|
|
|
. /etc/functions
|
|
. /tmp/config
|
|
|
|
DEBUG "Under /bin/usb-init"
|
|
|
|
if [ "$CONFIG_TPM" = "y" ]; then
|
|
# Extend PCR4 as soon as possible
|
|
tpm extend -ix 4 -ic usb
|
|
fi
|
|
|
|
media-scan usb
|
|
recovery "Something failed during USB boot"
|