mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
080e3e4f58
commit
eba9f8a16d
@@ -66,7 +66,7 @@ class BootimgPartitionPlugin(SourcePlugin):
|
||||
- copies all files listed in IMAGE_BOOT_FILES variable
|
||||
"""
|
||||
hdddir = "%s/boot" % cr_workdir
|
||||
rm_cmd = "rm -rf %s" % cr_workdir
|
||||
rm_cmd = "rm -rf %s/boot" % cr_workdir
|
||||
exec_cmd(rm_cmd)
|
||||
|
||||
install_cmd = "install -d %s" % hdddir
|
||||
|
||||
Reference in New Issue
Block a user