forked from amargaritov/PTEMagnet_AE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git push uuuuMerge branch 'main' of https://github.com/amargaritov/PT…
…EMagnet_AE into main
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,10 +34,12 @@ $SCRIPT_DIR/kernel/build_kernels.sh $KERNEL_DIR | |
export IMAGE_DIR="$INSTALL_PATH/vm_images" | ||
echo "export IMAGE_DIR=\"$INSTALL_PATH/vm_images\"" >> $REPO_ROOT/source.sh | ||
|
||
FAILED_DISK_DWNL=0 | ||
$SCRIPT_DIR/vm_disk_image/download_vm_disk_image.sh $IMAGE_DIR | ||
if [ $? -eq 124 ]; then | ||
# Timeout occurred | ||
exit 124 | ||
if [ $? -ne 0 ]; then | ||
#echo "It seems that something is wrong with the download source. Please sent a message to Artemiy <[email protected]>" | ||
# Timeout occurred | ||
FAILED_DISK_DWNL=1 | ||
fi | ||
|
||
#echo "$REPO_ROOT/evaluation/disable_thp_no_drop.sh" >> $REPO_ROOT/source.sh | ||
|
@@ -49,5 +51,9 @@ echo "source $REPO_ROOT/venv/bin/activate" >> $REPO_ROOT/source.sh | |
|
||
echo "cd $REPO_ROOT; source source.sh" >> ~/.bashrc | ||
|
||
|
||
source $REPO_ROOT/source.sh | ||
|
||
if [ $FAILED_DISK_DWNL -eq 1]; then | ||
echo "It seems that something went wrong when download the VM image. Please sent a message to Artemiy <[email protected]>" | ||
exit 101 | ||
fi |