From 9bfdb9f76d95cc0d9e8266f85e244f0fac8f069d Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Wed, 4 May 2016 13:21:14 +0100 Subject: bugfix: Fix creation of vsperfenv in Ubuntu Wrong version of virtualenv was executed in Ubuntu specific script. So python modules could not be installed and vsperf was not working. Hugepages mount point is newly created inside sudo environment to avoid issues with permissions. Change-Id: I4f5afc22bceb2eebbf018c42f42b7074a93e2293 JIRA: VSPERF-292 Signed-off-by: Martin Klozik Reviewed-by: Maryam Tahhan --- systems/ubuntu/14.04/prepare_python_env.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'systems') diff --git a/systems/ubuntu/14.04/prepare_python_env.sh b/systems/ubuntu/14.04/prepare_python_env.sh index f9c2def8..6ef8680d 100755 --- a/systems/ubuntu/14.04/prepare_python_env.sh +++ b/systems/ubuntu/14.04/prepare_python_env.sh @@ -23,7 +23,7 @@ fi # enable virtual environment in a subshell, so QEMU build can use python 2.7 -(virtualenv-3.4 "$VSPERFENV_DIR" +(virtualenv "$VSPERFENV_DIR" source "$VSPERFENV_DIR"/bin/activate pip install -r ../requirements.txt -pip install pylint) \ No newline at end of file +pip install pylint) -- cgit 1.2.3-korg