aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-09-14 15:04:49 +0200
committerKarel Kočí <cynerd@email.cz>2015-09-14 15:04:49 +0200
commit610845c6f99412010baa7a84ff8880bc7046c49a (patch)
tree3107260cff81986df29905010fe61f178794a2d1
parent924cead545468fd217fc800e00e278ac23c97524 (diff)
downloadlinux-conf-perf-610845c6f99412010baa7a84ff8880bc7046c49a.tar.gz
linux-conf-perf-610845c6f99412010baa7a84ff8880bc7046c49a.tar.bz2
linux-conf-perf-610845c6f99412010baa7a84ff8880bc7046c49a.zip
Remove image after measurement
Image should be removed after it was measured. Otherwise Linux images are piling up in jobfolder.
-rwxr-xr-xscripts/loop.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/loop.py b/scripts/loop.py
index f7b82bf..355275c 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -58,6 +58,7 @@ def measure(kernelimg, con):
os.symlink(kernelimg, sf(conf.jobfolder_linux_image))
boot.boot(con)
print("Configuration '" + con.hash + "' measured.")
+ os.remove(sf(conf.build_folder) + '/' + kernelimg)
__confs_prepared__.remove(con.hash)
# Multithread #