From 9020299e38c17642995f13a0fe8b09178f442d32 Mon Sep 17 00:00:00 2001 From: Evan Benn Date: Mon, 16 Jan 2023 11:36:47 +1100 Subject: get_gbb_flags.sh: Add removal notice message futility can modify gbb flags directly now. Add a notice that the scripts will be removed. BUG=b:260531154 BRANCH=None TEST=./get_gbb_flags.sh Change-Id: I46a9a903c6f2e68f76b71fba4246e85feef9f2e9 Signed-off-by: Evan Benn Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4170143 Reviewed-by: Yu-Ping Wu Reviewed-by: Edward O'Callaghan --- scripts/image_signing/get_gbb_flags.sh | 2 ++ scripts/image_signing/set_gbb_flags.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/image_signing/get_gbb_flags.sh b/scripts/image_signing/get_gbb_flags.sh index eae8acfe..b3d2c44d 100755 --- a/scripts/image_signing/get_gbb_flags.sh +++ b/scripts/image_signing/get_gbb_flags.sh @@ -23,6 +23,8 @@ main() { flags_help exit 1 fi + echo 'NOTICE: This script has been replaced with futility functionality and will be removed.' 1>&2 + echo 'NOTICE: Please try `futility gbb --get --flags`' 1>&2 local image_file="${FLAGS_file}" local programmer="${FLAGS_programmer}" diff --git a/scripts/image_signing/set_gbb_flags.sh b/scripts/image_signing/set_gbb_flags.sh index 871f6cba..b9632314 100755 --- a/scripts/image_signing/set_gbb_flags.sh +++ b/scripts/image_signing/set_gbb_flags.sh @@ -47,6 +47,8 @@ main() { flags_help exit 1 fi + echo 'NOTICE: This script has been replaced with futility functionality and will be removed.' 1>&2 + echo 'NOTICE: Please try `futility gbb --set --flags=`' 1>&2 local value="$(($1))" local image_file="${FLAGS_file}" -- cgit v1.2.1