diff --git a/initrd/bin/kexec-select-boot b/initrd/bin/kexec-select-boot index 81d0e5ff..daed067a 100755 --- a/initrd/bin/kexec-select-boot +++ b/initrd/bin/kexec-select-boot @@ -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 diff --git a/initrd/etc/functions b/initrd/etc/functions index e6cd706f..b228b18e 100755 --- a/initrd/etc/functions +++ b/initrd/etc/functions @@ -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" }