summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/kickstart
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2014-08-11 20:35:37 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:21:52 +0100
commite00e902fc7f91be415682e084c839bce7bb64d3f (patch)
tree46f06f6eabf3d373a7218c5c1ddfcd7b2e839ada /scripts/lib/wic/kickstart
parentef700ea11f51f239a886831ad26ff0d64b57c73d (diff)
downloadpoky-e00e902fc7f91be415682e084c839bce7bb64d3f.tar.gz
wic: Add sourceparam param to partition plugin methods
The sourceparam param allows source plugins to be parameterized generically (via --sourceparams="key=val[,key=val], implemented previously). (From OE-Core rev: 2abbcc843ba888782f6d68748d930c81e6ae7040) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/kickstart')
-rw-r--r--scripts/lib/wic/kickstart/custom_commands/partition.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py b/scripts/lib/wic/kickstart/custom_commands/partition.py
index 3920adbd53..76cf7a994c 100644
--- a/scripts/lib/wic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/wic/kickstart/custom_commands/partition.py
@@ -143,16 +143,16 @@ class Wic_PartData(Mic_PartData):
143 msger.error("The '%s' --source specified for %s doesn't exist.\n\tSee 'wic list source-plugins' for a list of available --sources.\n\tSee 'wic help source-plugins' for details on adding a new source plugin." % (self.source, self.mountpoint)) 143 msger.error("The '%s' --source specified for %s doesn't exist.\n\tSee 'wic list source-plugins' for a list of available --sources.\n\tSee 'wic help source-plugins' for details on adding a new source plugin." % (self.source, self.mountpoint))
144 144
145 self._source_methods = pluginmgr.get_source_plugin_methods(self.source, partition_methods) 145 self._source_methods = pluginmgr.get_source_plugin_methods(self.source, partition_methods)
146 self._source_methods["do_configure_partition"](self, cr, cr_workdir, 146 self._source_methods["do_configure_partition"](self, None, cr, cr_workdir,
147 oe_builddir, 147 oe_builddir,
148 bootimg_dir, 148 bootimg_dir,
149 kernel_dir, 149 kernel_dir,
150 native_sysroot) 150 native_sysroot)
151 self._source_methods["do_stage_partition"](self, cr, cr_workdir, 151 self._source_methods["do_stage_partition"](self, None, cr, cr_workdir,
152 oe_builddir, 152 oe_builddir,
153 bootimg_dir, kernel_dir, 153 bootimg_dir, kernel_dir,
154 native_sysroot) 154 native_sysroot)
155 self._source_methods["do_prepare_partition"](self, cr, cr_workdir, 155 self._source_methods["do_prepare_partition"](self, None, cr, cr_workdir,
156 oe_builddir, 156 oe_builddir,
157 bootimg_dir, kernel_dir, rootfs_dir, 157 bootimg_dir, kernel_dir, rootfs_dir,
158 native_sysroot) 158 native_sysroot)