aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/loop.py3
-rwxr-xr-xscripts/test.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/scripts/loop.py b/scripts/loop.py
index 2f008dc..fc0ea44 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -41,8 +41,7 @@ def measure(kernelimg, con):
os.remove(sf(conf.jobfolder_linux_image))
except FileNotFoundError:
pass
- os.symlink(os.path.join(sf(conf.build_folder), kernelimg),
- sf(conf.jobfolder_linux_image))
+ os.symlink(kernelimg, sf(conf.jobfolder_linux_image))
boot.boot(con)
print("Configuration '" + con.hash + "' measured.")
diff --git a/scripts/test.py b/scripts/test.py
index b01a8b6..d24e31b 100755
--- a/scripts/test.py
+++ b/scripts/test.py
@@ -19,8 +19,7 @@ def test():
os.remove(sf(conf.jobfolder_linux_image))
except FileNotFoundError:
pass
- os.symlink(os.path.join(sf(conf.build_folder), img),
- sf(conf.jobfolder_linux_image))
+ os.symlink(img, sf(conf.jobfolder_linux_image))
conf.boot_output = True
conf.parse_output = True
print("-- Boot --")