Commit b9a1f89d authored by Thomas Abraham's avatar Thomas Abraham
Browse files

sgi/distro.sh: source run_model.sh



The run_model.sh script of a platform is not expected to be have execute
permission. So source the run_model.sh file as required.

Signed--off-by: Thomas Abraham's avatarThomas Abraham <thomas.abraham@arm.com>
Change-Id: I3b625cf3ade2f9e30a74e93f2c8b5d427c11ddd0
parent 85681377
......@@ -57,7 +57,7 @@ install ()
echo "Created $disk_name of size $disk_size GB, proceeding to install $installer_image ..."
pushd $platform_dir
./run_model.sh -v $installer_image -d $disk_name -n $network -a "$extra_param"
source ./run_model.sh -v $installer_image -d $disk_name -n $network -a "$extra_param"
}
# This script allows a user to create a virtual satadisk and install either
......@@ -73,7 +73,7 @@ boot ()
fi
echo "Proceeding to boot supplied disk image name: $disk_image ..."
pushd $platform_dir
./run_model.sh -d $disk_image -n $network -a "$extra_param"
source ./run_model.sh -d $disk_image -n $network -a "$extra_param"
exit 0
fi
......@@ -92,7 +92,7 @@ boot ()
echo "Found $available_images, proceeding to boot ..."
available_images=$PWD/$available_images
pushd $platform_dir
./run_model.sh -d $available_images -n $network -a "$extra_param"
source ./run_model.sh -d $available_images -n $network -a "$extra_param"
;;
*)
if [[ -z "$disk_image" ]]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment