pass -ic option to tpm extend (issue #198)

This commit is contained in:
Trammell Hudson 2017-04-23 16:12:08 -04:00
parent 448d0731a9
commit 7f600072ad
Failed to extract signature

View File

@ -32,7 +32,7 @@ hwclock -l -s
if [ ! -x "$CONFIG_BOOTSCRIPT" ]; then if [ ! -x "$CONFIG_BOOTSCRIPT" ]; then
recovery 'Boot script missing? Entering recovery shell' recovery 'Boot script missing? Entering recovery shell'
# just in case... # just in case...
tpm extend -ix 4 recovery tpm extend -ix 4 -ic recovery
exec /bin/ash exec /bin/ash
fi fi
@ -48,7 +48,7 @@ if [ "$boot_option" = "r" ]; then
# Start an interactive shell # Start an interactive shell
recovery 'User requested recovery shell' recovery 'User requested recovery shell'
# just in case... # just in case...
tpm extend -ix 4 recovery tpm extend -ix 4 -ic recovery
exec /bin/ash exec /bin/ash
fi fi
@ -58,5 +58,5 @@ exec "$CONFIG_BOOTSCRIPT"
# We should never reach here, but just in case... # We should never reach here, but just in case...
recovery 'Boot script failure? Entering recovery shell' recovery 'Boot script failure? Entering recovery shell'
# belts and suspenders, just in case... # belts and suspenders, just in case...
tpm extend -ix 4 recovery tpm extend -ix 4 -ic recovery
exec /bin/ash exec /bin/ash