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-03 12:35:52 +0000
commitb12ad28df8b2f2afa03bf8c95d23a8de5ebe715c (patch)
treed67149fe5c0bf7e485f37e233880843b40fa7497
parentb0cdc1e898de15bf818a27ec4610d771253188bc (diff)
downloadvboot-b12ad28df8b2f2afa03bf8c95d23a8de5ebe715c.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 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4269751 Auto-Submit: Edward O'Callaghan <quasisec@chromium.org> Commit-Queue: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Otabek Kasimov <otabek@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@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))"