diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-01-19 18:51:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-19 21:30:37 +0000 |
commit | ba98262573cf1600e0d477317f51d488b5f8c4bd (patch) | |
tree | b46ae4639cea7c0fb54166b01c8cfa9964e57aba /scripts/lib/wic/plugins/source/bootimg-efi.py | |
parent | cc2233b51f1d22d4e540f4a3e9ceedd7ede9ffa9 (diff) | |
download | openembedded-core-ba98262573cf1600e0d477317f51d488b5f8c4bd.tar.gz openembedded-core-ba98262573cf1600e0d477317f51d488b5f8c4bd.tar.bz2 openembedded-core-ba98262573cf1600e0d477317f51d488b5f8c4bd.zip |
wic: do not remove build dir in source plugins
Interesting bug was found during implementation of 'include'
parser command.
Build directory was removed in do_configure_partition method of
bootimg- source plugins. This can cause removal of previously
prepared partition images if /boot partition is mentioned after
other partitions in .ks file.
Moved work directory removal to direct.py before processing
partitions.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-efi.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index 125c943d12..a4734c9b36 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py @@ -142,8 +142,6 @@ class BootimgEFIPlugin(SourcePlugin): Called before do_prepare_partition(), creates loader-specific config """ hdddir = "%s/hdd/boot" % cr_workdir - rm_cmd = "rm -rf %s" % cr_workdir - exec_cmd(rm_cmd) install_cmd = "install -d %s/EFI/BOOT" % hdddir exec_cmd(install_cmd) |