summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2023-02-15 12:39:36 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-29 08:19:31 +0000
commitb9af6deeea28377c0eed9f81788231a3d5c1d666 (patch)
treec3ebafaa56a49f7d31a11fc662037259f57f2adc
parentf92585021f31f14d4eae2ae454a95198182a599d (diff)
downloadvboot-b9af6deeea28377c0eed9f81788231a3d5c1d666.tar.gz
{g,s}et_gbb_flags.sh: Fix removal notice message
Fix the futility command in the removal notice message, by adding the missing `--flash` option. BUG=b:260531154 TEST=Ran set_gbb_flags.sh BRANCH=none Change-Id: Ic1846929661a47c40b65e67ea76f776493ee2d9c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4251505 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4380990 Auto-Submit: Phoebe Wang <phoebewang@chromium.org> Tested-by: Phoebe Wang <phoebewang@chromium.org> Reviewed-by: Cheng Yueh <cyueh@chromium.org> Commit-Queue: Cheng Yueh <cyueh@chromium.org>
-rwxr-xr-xscripts/image_signing/get_gbb_flags.sh2
-rwxr-xr-xscripts/image_signing/set_gbb_flags.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/image_signing/get_gbb_flags.sh b/scripts/image_signing/get_gbb_flags.sh
index dcf3347f..ca635942 100755
--- a/scripts/image_signing/get_gbb_flags.sh
+++ b/scripts/image_signing/get_gbb_flags.sh
@@ -24,7 +24,7 @@ main() {
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
+ echo 'NOTICE: Please try `futility gbb --get --flash --flags`' 1>&2
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 e44158d1..e6e94822 100755
--- a/scripts/image_signing/set_gbb_flags.sh
+++ b/scripts/image_signing/set_gbb_flags.sh
@@ -48,7 +48,7 @@ main() {
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
+ echo "NOTICE: Please try \`futility gbb --set --flash --flags=$1\`" 1>&2
local value="$(($1))"