diff options
author | Edward O'Callaghan <quasisec@google.com> | 2023-02-18 15:53:37 +1100 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-29 08:19:46 +0000 |
commit | f45752fd4f8fb85904b282c580b0c513f68e81e2 (patch) | |
tree | d67149fe5c0bf7e485f37e233880843b40fa7497 | |
parent | b087e8ecda56f1b421f687e1ca6a76545d539c0e (diff) | |
download | vboot-f45752fd4f8fb85904b282c580b0c513f68e81e2.tar.gz |
scripts/../{g,s}et_gbb_flags.sh: Add delay
Give some time to the user to reconsider and ween users off a
unsupported ABI.
BUG=b:260531154
TEST=none
Change-Id: I9cfbd032f56d7aa3ba1f19abdd26c15a785cc876
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4269751
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4381002
Tested-by: Phoebe Wang <phoebewang@chromium.org>
Commit-Queue: Cheng Yueh <cyueh@chromium.org>
Reviewed-by: Cheng Yueh <cyueh@chromium.org>
Auto-Submit: Phoebe Wang <phoebewang@chromium.org>
-rwxr-xr-x | scripts/image_signing/get_gbb_flags.sh | 2 | ||||
-rwxr-xr-x | scripts/image_signing/set_gbb_flags.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/image_signing/get_gbb_flags.sh b/scripts/image_signing/get_gbb_flags.sh index ca635942..46edabfa 100755 --- a/scripts/image_signing/get_gbb_flags.sh +++ b/scripts/image_signing/get_gbb_flags.sh @@ -25,6 +25,8 @@ main() { fi echo 'NOTICE: This script has been replaced with futility functionality and will be removed.' 1>&2 echo 'NOTICE: Please try `futility gbb --get --flash --flags`' 1>&2 + echo 'NOTICE: Waiting for 30 seconds before proceeding...' 1>&2 + sleep 30 local args=() if [ "${FLAGS_explicit}" = "${FLAGS_TRUE}" ]; then diff --git a/scripts/image_signing/set_gbb_flags.sh b/scripts/image_signing/set_gbb_flags.sh index e6e94822..147080e0 100755 --- a/scripts/image_signing/set_gbb_flags.sh +++ b/scripts/image_signing/set_gbb_flags.sh @@ -49,6 +49,8 @@ main() { fi echo 'NOTICE: This script has been replaced with futility functionality and will be removed.' 1>&2 echo "NOTICE: Please try \`futility gbb --set --flash --flags=$1\`" 1>&2 + echo 'NOTICE: Waiting for 30 seconds before proceeding...' 1>&2 + sleep 30 local value="$(($1))" |