summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Benn <evanbenn@chromium.org>2023-01-16 11:36:47 +1100
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-17 08:38:38 +0000
commit9020299e38c17642995f13a0fe8b09178f442d32 (patch)
treecbb1763a0e636e5c5834cbcd98ffaa6c5b181d96
parent43ab0587f36ef40aba334b94489dfe4225fe1bbb (diff)
downloadvboot-stabilize-15317.B.tar.gz
get_gbb_flags.sh: Add removal notice messagestabilize-15317.B
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 <evanbenn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4170143 Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@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 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}"