diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-partition.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-partition.py | 2 |
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 |