summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/source
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/source')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-efi.py2
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-partition.py3
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-pcbios.py2
3 files changed, 0 insertions, 7 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):
142 Called before do_prepare_partition(), creates loader-specific config 142 Called before do_prepare_partition(), creates loader-specific config
143 """ 143 """
144 hdddir = "%s/hdd/boot" % cr_workdir 144 hdddir = "%s/hdd/boot" % cr_workdir
145 rm_cmd = "rm -rf %s" % cr_workdir
146 exec_cmd(rm_cmd)
147 145
148 install_cmd = "install -d %s/EFI/BOOT" % hdddir 146 install_cmd = "install -d %s/EFI/BOOT" % hdddir
149 exec_cmd(install_cmd) 147 exec_cmd(install_cmd)
diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py b/scripts/lib/wic/plugins/source/bootimg-partition.py
index bc2ca0f6fa..b76c1211ae 100644
--- a/scripts/lib/wic/plugins/source/bootimg-partition.py
+++ b/scripts/lib/wic/plugins/source/bootimg-partition.py
@@ -71,9 +71,6 @@ class BootimgPartitionPlugin(SourcePlugin):
71 - copies all files listed in IMAGE_BOOT_FILES variable 71 - copies all files listed in IMAGE_BOOT_FILES variable
72 """ 72 """
73 hdddir = "%s/boot" % cr_workdir 73 hdddir = "%s/boot" % cr_workdir
74 rm_cmd = "rm -rf %s/boot" % cr_workdir
75 exec_cmd(rm_cmd)
76
77 install_cmd = "install -d %s" % hdddir 74 install_cmd = "install -d %s" % hdddir
78 exec_cmd(install_cmd) 75 exec_cmd(install_cmd)
79 76
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
index a1bfa2671e..5b719bf3bb 100644
--- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
@@ -78,8 +78,6 @@ class BootimgPcbiosPlugin(SourcePlugin):
78 Called before do_prepare_partition(), creates syslinux config 78 Called before do_prepare_partition(), creates syslinux config
79 """ 79 """
80 hdddir = "%s/hdd/boot" % cr_workdir 80 hdddir = "%s/hdd/boot" % cr_workdir
81 rm_cmd = "rm -rf " + cr_workdir
82 exec_cmd(rm_cmd)
83 81
84 install_cmd = "install -d %s" % hdddir 82 install_cmd = "install -d %s" % hdddir
85 exec_cmd(install_cmd) 83 exec_cmd(install_cmd)