Skip to content

Commit

Permalink
pass -ic option to tpm extend (issue #198)
Browse files Browse the repository at this point in the history
  • Loading branch information
osresearch committed Apr 24, 2017
1 parent a71f84c commit 7f2eb15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions initrd/init
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ hwclock -l -s
if [ ! -x "$CONFIG_BOOTSCRIPT" ]; then
recovery 'Boot script missing? Entering recovery shell'
# just in case...
tpm extend -ix 4 recovery
tpm extend -ix 4 -ic recovery
exec /bin/ash
fi

Expand All @@ -48,7 +48,7 @@ if [ "$boot_option" = "r" ]; then
# Start an interactive shell
recovery 'User requested recovery shell'
# just in case...
tpm extend -ix 4 recovery
tpm extend -ix 4 -ic recovery
exec /bin/ash
fi

Expand All @@ -58,5 +58,5 @@ exec "$CONFIG_BOOTSCRIPT"
# We should never reach here, but just in case...
recovery 'Boot script failure? Entering recovery shell'
# belts and suspenders, just in case...
tpm extend -ix 4 recovery
tpm extend -ix 4 -ic recovery
exec /bin/ash

0 comments on commit 7f2eb15

Please sign in to comment.