summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Zieba <robertzieba@google.com>2022-08-08 17:44:20 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-16 00:35:23 +0000
commit9701d6beb577e4365f9e178d92782ab6325c5ea6 (patch)
tree570e32077818fe17b46a2de9201cd26af01c4f6e
parent67f613b922e4ccff6019de318c154a377afbe822 (diff)
downloadvboot-9701d6beb577e4365f9e178d92782ab6325c5ea6.tar.gz
scripts/image_signing/ensure_amd_psp_flags: Change argument order
This commit changes the order of the arguments for this script from `<board> <image>` to `<image> <board>`. This brings the script in-line with the existing ensure scripts. BRANCH=none BUG=b:202397678 TEST=Verified that script works with guybrush image Change-Id: I7bf31eb0b6ab667b1c3c0e71c2388531bb3f1bc0 Signed-off-by: Robert Zieba <robertzieba@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3820998 Reviewed-by: Mike Frysinger <vapier@chromium.org>
-rwxr-xr-xscripts/image_signing/ensure_amd_psp_flags.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/image_signing/ensure_amd_psp_flags.sh b/scripts/image_signing/ensure_amd_psp_flags.sh
index efccb69a..c3472a3c 100755
--- a/scripts/image_signing/ensure_amd_psp_flags.sh
+++ b/scripts/image_signing/ensure_amd_psp_flags.sh
@@ -28,7 +28,7 @@ BOARD_IGNORE_LIST=(grunt skyrim)
usage() {
echo "$0: Validate AMD PSP soft-fuse flags contained in a ChromeOS image." \
"These flags can have security implications and control debug features."
- echo "Usage $0 <board> <image>"
+ echo "Usage $0 <image> <board>"
}
main() {
@@ -37,8 +37,8 @@ main() {
exit 1
fi
- local board="$1"
- local image="$2"
+ local image="$1"
+ local board="$2"
# Check the ignore list.
if [[ " ${BOARD_IGNORE_LIST[*]} " == *" ${board} "* ]]; then