From 2d3c9f89852bd009fc7accee495ede2fbcadc3bb Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Wed, 4 Feb 2015 23:49:15 +0100 Subject: 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. Signed-off-by: Alexandre Belloni Signed-off-by: Ross Burton --- scripts/lib/wic/plugins/source/bootimg-partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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): - 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 -- cgit 1.2.3-korg