diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2023-02-15 12:39:36 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-16 09:14:24 +0000 |
commit | 59fd26b77fd66efcfc2beceda9eaafba0e74ec3e (patch) | |
tree | c3ebafaa56a49f7d31a11fc662037259f57f2adc | |
parent | 1646eb29c03c54845ad47f9e547616fc43fb2b46 (diff) | |
download | vboot-59fd26b77fd66efcfc2beceda9eaafba0e74ec3e.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
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4251505
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Matthew Blecker <matthewb@chromium.org>
Reviewed-by: Matthew Blecker <matthewb@chromium.org>
Reviewed-by: Alexandru Stan <amstan@chromium.org>
-rwxr-xr-x | scripts/image_signing/get_gbb_flags.sh | 2 | ||||
-rwxr-xr-x | scripts/image_signing/set_gbb_flags.sh | 2 |
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))" |