From 8d24a65bcd12c8c39e1cbac399623fa8024910ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 6 Aug 2015 13:03:28 +0200 Subject: Fix link error Creation of link to linux image wasn't done right. Outcome was, wrong path in link. --- scripts/loop.py | 3 +-- scripts/test.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'scripts') 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 --") -- cgit v1.2.3