diff options
Diffstat (limited to 'meta/classes/qemuboot.bbclass')
-rw-r--r-- | meta/classes/qemuboot.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass index ef9a128796..b5cc93dc93 100644 --- a/meta/classes/qemuboot.bbclass +++ b/meta/classes/qemuboot.bbclass | |||
@@ -76,9 +76,6 @@ python write_qemuboot_conf() { | |||
76 | with open(qemuboot, 'w') as f: | 76 | with open(qemuboot, 'w') as f: |
77 | cf.write(f) | 77 | cf.write(f) |
78 | 78 | ||
79 | if d.getVar('RM_OLD_IMAGE', True) == "1" and os.path.exists(qemuboot_link): | ||
80 | os.remove(os.path.realpath(qemuboot_link)) | ||
81 | |||
82 | if os.path.lexists(qemuboot_link): | 79 | if os.path.lexists(qemuboot_link): |
83 | os.remove(qemuboot_link) | 80 | os.remove(qemuboot_link) |
84 | os.symlink(os.path.basename(qemuboot), qemuboot_link) | 81 | os.symlink(os.path.basename(qemuboot), qemuboot_link) |