config-gui.sh: permit io386 platform locking to be dynamically disabled at runtime

ash_functions: make sure /tmp/config is sourced before going to recovery shell
TODO: revisit https://source.puri.sm/firmware/pureboot/-/blob/Release-27/initrd/bin/config-gui.sh#L33 to have proper config store later on
This commit is contained in:
Thierry Laurion
2023-06-18 17:08:45 -04:00
parent 39bb6ea313
commit 995a6931f1
2 changed files with 22 additions and 4 deletions

View File

@ -57,6 +57,7 @@ recovery() {
# ensure /tmp/config exists for recovery scripts that depend on it
touch /tmp/config
. /tmp/config
if [ "$CONFIG_TPM" = "y" ]; then
tpmr extend -ix 4 -ic recovery