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:
Thierry Laurion 2024-12-12 18:44:51 -05:00
parent eca4e34176
commit c7ab861325
No known key found for this signature in database
GPG Key ID: 9A53E1BB3FF00461
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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"
}