aboutsummaryrefslogtreecommitdiff
path: root/tests/vm/centos.aarch64
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2021-06-02 11:35:27 +0100
committerAlex Bennée <alex.bennee@linaro.org>2021-06-07 14:42:47 +0100
commit7bb17a9263665c7cb0b93e6889e66bb62b9f71c1 (patch)
treeb8f2d68561ac8d79e88d814d2c92d23f2da20af8 /tests/vm/centos.aarch64
parente2d301780953dea5f0065bcfccf261c2bf3f7e98 (diff)
downloadqemu-7bb17a9263665c7cb0b93e6889e66bb62b9f71c1.zip
qemu-7bb17a9263665c7cb0b93e6889e66bb62b9f71c1.tar.gz
qemu-7bb17a9263665c7cb0b93e6889e66bb62b9f71c1.tar.bz2
tests/vm: expose --source-path to scripts to find extra files
Currently the centos8 image expects to run an in-src build to find the kick starter file. Fix this. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210602103527.32021-1-alex.bennee@linaro.org>
Diffstat (limited to 'tests/vm/centos.aarch64')
-rwxr-xr-xtests/vm/centos.aarch642
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/centos.aarch64 b/tests/vm/centos.aarch64
index e687b93..81c3004 100755
--- a/tests/vm/centos.aarch64
+++ b/tests/vm/centos.aarch64
@@ -64,7 +64,7 @@ class CentosAarch64VM(basevm.BaseVM):
def create_kickstart(self):
"""Generate the kickstart file used to generate the centos image."""
# Start with the template for the kickstart.
- ks_file = "../tests/vm/centos-8-aarch64.ks"
+ ks_file = self._source_path + "/tests/vm/centos-8-aarch64.ks"
subprocess.check_call("cp {} ./ks.cfg".format(ks_file), shell=True)
# Append the ssh keys to the kickstart file
# as the post processing phase of installation.