diff options
author | Thomas Abraham <thomas.abraham@arm.com> | 2019-03-19 19:22:21 +0530 |
---|---|---|
committer | Thomas Abraham <thomas.abraham@arm.com> | 2019-03-22 00:07:23 +0530 |
commit | 3d615b6ef49b969e4e2733cf36789701a64a4444 (patch) | |
tree | 32206d49d82c8bf44dabc1601ef9773617bef31e | |
parent | ac4ac28dfa290c88defda72a4886744347f2fa5e (diff) |
sgi/secure_boot: use -v parameter to pass the location of virtio image
Instead of specifying busybox as the file system type, use the -v
parameter to pass the path to the virtio image.
Change-Id: I64e3df2b5a33ebad0ead3a5bddc949a485524247
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
-rwxr-xr-x | sgi/secure_boot.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sgi/secure_boot.sh b/sgi/secure_boot.sh index 0ce023e..77e7879 100755 --- a/sgi/secure_boot.sh +++ b/sgi/secure_boot.sh @@ -88,8 +88,10 @@ done __parse_params_validate platform_dir="platforms/$platform" +disk_image="$platform/grub-busybox.img" + pushd $platform_dir -set -- "$@" "-f" "busybox" +set -- "$@" "-v" "../../../../output/$disk_image" if [[ $automate == 1 ]]; then wget http://files.oss.arm.com/releases/SSG-SW/prebuilts/refinfra/secure_boot/nor2_flash.img fi |