summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2023-02-18 15:53:37 +1100
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-29 08:19:46 +0000
commitf45752fd4f8fb85904b282c580b0c513f68e81e2 (patch)
treed67149fe5c0bf7e485f37e233880843b40fa7497
parentb087e8ecda56f1b421f687e1ca6a76545d539c0e (diff)
downloadvboot-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-xscripts/image_signing/get_gbb_flags.sh2
-rwxr-xr-xscripts/image_signing/set_gbb_flags.sh2
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))"