Skip to content

Commit 7f2eb15

Browse files
committed
pass -ic option to tpm extend (issue #198)
1 parent a71f84c commit 7f2eb15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

initrd/init

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ hwclock -l -s
3232
if [ ! -x "$CONFIG_BOOTSCRIPT" ]; then
3333
recovery 'Boot script missing? Entering recovery shell'
3434
# just in case...
35-
tpm extend -ix 4 recovery
35+
tpm extend -ix 4 -ic recovery
3636
exec /bin/ash
3737
fi
3838

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

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

0 commit comments

Comments
 (0)