mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
pass -ic option to tpm extend (issue #198)
This commit is contained in:
parent
448d0731a9
commit
7f600072ad
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user