1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

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.

(From OE-Core rev: 93631befe8b962bf99524746b49f4ebca336175c)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock
2016-10-12 21:46:41 +01:00
committed by Richard Purdie
parent 1a95d4a070
commit 751cb2c894
8 changed files with 1 additions and 38 deletions
-3
View File
@@ -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)