diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-10-12 21:46:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-15 09:48:28 +0100 |
commit | 93631befe8b962bf99524746b49f4ebca336175c (patch) | |
tree | 8408907fee2416521ec777ef977f6da0c325f24e /meta/classes/qemuboot.bbclass | |
parent | 1a2311c8fa9a3703568cd390c44639fe3335023e (diff) | |
download | openembedded-core-93631befe8b962bf99524746b49f4ebca336175c.tar.gz |
Remove RM_OLD_IMAGE, it's no longer useful
Since the move to put image deployment under sstate control in
d54339d4b1a7e884de636f6325ca60409ebd95ff old images are automatically
removed before a new image is deployed (the default behaviour of the
sstate logic).
RM_OLD_IMAGE is therefore no longer required to provide this
behaviour, remove the variable and its users.
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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() { with open(qemuboot, 'w') as f: cf.write(f) - if d.getVar('RM_OLD_IMAGE', True) == "1" and os.path.exists(qemuboot_link): - os.remove(os.path.realpath(qemuboot_link)) - if os.path.lexists(qemuboot_link): os.remove(qemuboot_link) os.symlink(os.path.basename(qemuboot), qemuboot_link) |