diff options
Diffstat (limited to 'scripts/lib')
| -rw-r--r-- | scripts/lib/mic/kickstart/custom_commands/partition.py | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py b/scripts/lib/mic/kickstart/custom_commands/partition.py index e15150b657..c3bb9a5b86 100644 --- a/scripts/lib/mic/kickstart/custom_commands/partition.py +++ b/scripts/lib/mic/kickstart/custom_commands/partition.py | |||
| @@ -114,24 +114,20 @@ class Wic_PartData(Mic_PartData): | |||
| 114 | native_sysroot) | 114 | native_sysroot) |
| 115 | return | 115 | return |
| 116 | 116 | ||
| 117 | if self.source.startswith("rootfs"): | 117 | self._source_methods = pluginmgr.get_source_plugin_methods(self.source, partition_methods) |
| 118 | self.prepare_rootfs(cr_workdir, oe_builddir, rootfs_dir, | 118 | self._source_methods["do_configure_partition"](self, cr, cr_workdir, |
| 119 | native_sysroot) | ||
| 120 | else: | ||
| 121 | self._source_methods = pluginmgr.get_source_plugin_methods(self.source, partition_methods) | ||
| 122 | self._source_methods["do_configure_partition"](self, cr, cr_workdir, | ||
| 123 | oe_builddir, | ||
| 124 | bootimg_dir, | ||
| 125 | kernel_dir, | ||
| 126 | native_sysroot) | ||
| 127 | self._source_methods["do_stage_partition"](self, cr, cr_workdir, | ||
| 128 | oe_builddir, | 119 | oe_builddir, |
| 129 | bootimg_dir, kernel_dir, | 120 | bootimg_dir, |
| 121 | kernel_dir, | ||
| 130 | native_sysroot) | 122 | native_sysroot) |
| 131 | self._source_methods["do_prepare_partition"](self, cr, cr_workdir, | 123 | self._source_methods["do_stage_partition"](self, cr, cr_workdir, |
| 132 | oe_builddir, | 124 | oe_builddir, |
| 133 | bootimg_dir, kernel_dir, | 125 | bootimg_dir, kernel_dir, |
| 134 | native_sysroot) | 126 | native_sysroot) |
| 127 | self._source_methods["do_prepare_partition"](self, cr, cr_workdir, | ||
| 128 | oe_builddir, | ||
| 129 | bootimg_dir, kernel_dir, rootfs_dir, | ||
| 130 | native_sysroot) | ||
| 135 | 131 | ||
| 136 | def prepare_rootfs_from_fs_image(self, cr_workdir, oe_builddir, | 132 | def prepare_rootfs_from_fs_image(self, cr_workdir, oe_builddir, |
| 137 | rootfs_dir): | 133 | rootfs_dir): |
