aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-06 13:03:28 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 10:21:09 +0200
commit8d24a65bcd12c8c39e1cbac399623fa8024910ce (patch)
treebbf60e3017d7d159e948b566826c3e05190e4c77 /scripts
parent26bdef9f50edcb0e4f22e39d2d8736644b6d6a5c (diff)
downloadlinux-conf-perf-8d24a65bcd12c8c39e1cbac399623fa8024910ce.tar.gz
linux-conf-perf-8d24a65bcd12c8c39e1cbac399623fa8024910ce.tar.bz2
linux-conf-perf-8d24a65bcd12c8c39e1cbac399623fa8024910ce.zip
Fix link error
Creation of link to linux image wasn't done right. Outcome was, wrong path in link.
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 --")