summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/pluginbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/pluginbase.py')
-rw-r--r--scripts/lib/wic/pluginbase.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py
index 06f318f624..b8b3a46354 100644
--- a/scripts/lib/wic/pluginbase.py
+++ b/scripts/lib/wic/pluginbase.py
@@ -64,8 +64,9 @@ class SourcePlugin(_Plugin):
64 msger.debug("SourcePlugin: do_install_disk: disk: %s" % disk_name) 64 msger.debug("SourcePlugin: do_install_disk: disk: %s" % disk_name)
65 65
66 @classmethod 66 @classmethod
67 def do_stage_partition(self, part, cr, workdir, oe_builddir, bootimg_dir, 67 def do_stage_partition(self, part, source_params, cr, cr_workdir,
68 kernel_dir, native_sysroot): 68 oe_builddir, bootimg_dir, kernel_dir,
69 native_sysroot):
69 """ 70 """
70 Special content staging hook called before do_prepare_partition(), 71 Special content staging hook called before do_prepare_partition(),
71 normally empty. 72 normally empty.
@@ -80,8 +81,9 @@ class SourcePlugin(_Plugin):
80 msger.debug("SourcePlugin: do_stage_partition: part: %s" % part) 81 msger.debug("SourcePlugin: do_stage_partition: part: %s" % part)
81 82
82 @classmethod 83 @classmethod
83 def do_configure_partition(self, part, cr, cr_workdir, oe_builddir, 84 def do_configure_partition(self, part, source_params, cr, cr_workdir,
84 bootimg_dir, kernel_dir, native_sysroot): 85 oe_builddir, bootimg_dir, kernel_dir,
86 native_sysroot):
85 """ 87 """
86 Called before do_prepare_partition(), typically used to create 88 Called before do_prepare_partition(), typically used to create
87 custom configuration files for a partition, for example 89 custom configuration files for a partition, for example
@@ -90,8 +92,9 @@ class SourcePlugin(_Plugin):
90 msger.debug("SourcePlugin: do_configure_partition: part: %s" % part) 92 msger.debug("SourcePlugin: do_configure_partition: part: %s" % part)
91 93
92 @classmethod 94 @classmethod
93 def do_prepare_partition(self, part, cr, cr_workdir, oe_builddir, bootimg_dir, 95 def do_prepare_partition(self, part, source_params, cr, cr_workdir,
94 kernel_dir, rootfs_dir, native_sysroot): 96 oe_builddir, bootimg_dir, kernel_dir, rootfs_dir,
97 native_sysroot):
95 """ 98 """
96 Called to do the actual content population for a partition i.e. it 99 Called to do the actual content population for a partition i.e. it
97 'prepares' the partition to be incorporated into the image. 100 'prepares' the partition to be incorporated into the image.