mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-09 20:31:08 +00:00
Turn some info on default boot into LOGged info, LOG might go out forever if not pertinent to most?
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
eca4e34176
commit
c7ab861325
@ -79,10 +79,10 @@ if [ "$CONFIG_TPM2_TOOLS" = "y" ]; then
|
||||
fi
|
||||
|
||||
verify_global_hashes() {
|
||||
echo "+++ Checking verified boot hash file "
|
||||
LOG "+++ Checking verified boot hash file "
|
||||
# Check the hashes of all the files
|
||||
if verify_checksums "$bootdir" "$gui_menu"; then
|
||||
echo "+++ Verified boot hashes "
|
||||
LOG "+++ Verified boot hashes "
|
||||
valid_hash='y'
|
||||
valid_global_hash='y'
|
||||
else
|
||||
@ -204,7 +204,7 @@ parse_option() {
|
||||
}
|
||||
|
||||
scan_options() {
|
||||
echo "+++ Scanning for unsigned boot options"
|
||||
LOG "+++ Scanning for unsigned boot options"
|
||||
option_file="/tmp/kexec_options.txt"
|
||||
scan_boot_options "$bootdir" "$config" "$option_file"
|
||||
if [ ! -s $option_file ]; then
|
||||
|
@ -419,7 +419,7 @@ check_config() {
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "+++ Found verified kexec boot params"
|
||||
LOG "+++ Found verified kexec boot params"
|
||||
cp $1/kexec*.txt /tmp/kexec ||
|
||||
die "Failed to copy kexec boot params to tmp"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user