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-03-29 08:18:49 +0000
commitfa7cf29422952aba9903fc939679a676866dea00 (patch)
treecbb1763a0e636e5c5834cbcd98ffaa6c5b181d96
parent985dc4172053dfa0371a379cbeb495a39f1d4426 (diff)
downloadvboot-fa7cf29422952aba9903fc939679a676866dea00.tar.gz
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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4170143 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4380957 Tested-by: Phoebe Wang <phoebewang@chromium.org> Reviewed-by: Cheng Yueh <cyueh@chromium.org> Commit-Queue: 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 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}"