summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-02-04 23:49:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-08 08:00:27 +0000
commiteba9f8a16d3a09ac0212af5043a7620b03c9b13a (patch)
tree80cf47980c8d17385b20dea8db60f94e31bbbc6c /scripts
parent080e3e4f588f5ab290e017560ab1bcf565e4be26 (diff)
downloadpoky-eba9f8a16d3a09ac0212af5043a7620b03c9b13a.tar.gz
wic: bootimg-partition: Stop removing whole workdir
Stop removing the whole working directory as this is also removing eventual previously created partition images, leading to image creation failures. (From OE-Core rev: 2d3c9f89852bd009fc7accee495ede2fbcadc3bb) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-partition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py b/scripts/lib/wic/plugins/source/bootimg-partition.py
index 6ba39a01f7..c5eb7b8b80 100644
--- a/scripts/lib/wic/plugins/source/bootimg-partition.py
+++ b/scripts/lib/wic/plugins/source/bootimg-partition.py
@@ -66,7 +66,7 @@ class BootimgPartitionPlugin(SourcePlugin):
66 - copies all files listed in IMAGE_BOOT_FILES variable 66 - copies all files listed in IMAGE_BOOT_FILES variable
67 """ 67 """
68 hdddir = "%s/boot" % cr_workdir 68 hdddir = "%s/boot" % cr_workdir
69 rm_cmd = "rm -rf %s" % cr_workdir 69 rm_cmd = "rm -rf %s/boot" % cr_workdir
70 exec_cmd(rm_cmd) 70 exec_cmd(rm_cmd)
71 71
72 install_cmd = "install -d %s" % hdddir 72 install_cmd = "install -d %s" % hdddir