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.py10
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-pcbios.py10
-rw-r--r--scripts/lib/wic/plugins/source/rootfs.py5
3 files changed, 15 insertions, 10 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py
index 53f1782381..ea94fd2424 100644
--- a/scripts/lib/wic/plugins/source/bootimg-efi.py
+++ b/scripts/lib/wic/plugins/source/bootimg-efi.py
@@ -42,8 +42,9 @@ class BootimgEFIPlugin(SourcePlugin):
42 name = 'bootimg-efi' 42 name = 'bootimg-efi'
43 43
44 @classmethod 44 @classmethod
45 def do_configure_partition(self, part, cr, cr_workdir, oe_builddir, 45 def do_configure_partition(self, source_params, part, cr, cr_workdir,
46 bootimg_dir, kernel_dir, native_sysroot): 46 oe_builddir, bootimg_dir, kernel_dir,
47 native_sysroot):
47 """ 48 """
48 Called before do_prepare_partition(), creates grubefi config 49 Called before do_prepare_partition(), creates grubefi config
49 """ 50 """
@@ -92,8 +93,9 @@ class BootimgEFIPlugin(SourcePlugin):
92 cfg.close() 93 cfg.close()
93 94
94 @classmethod 95 @classmethod
95 def do_prepare_partition(self, part, cr, cr_workdir, oe_builddir, bootimg_dir, 96 def do_prepare_partition(self, part, source_params, cr, cr_workdir,
96 kernel_dir, rootfs_dir, native_sysroot): 97 oe_builddir, bootimg_dir, kernel_dir,
98 rootfs_dir, native_sysroot):
97 """ 99 """
98 Called to do the actual content population for a partition i.e. it 100 Called to do the actual content population for a partition i.e. it
99 'prepares' the partition to be incorporated into the image. 101 'prepares' the partition to be incorporated into the image.
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
index bd2225eeaf..aceed20428 100644
--- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
@@ -65,8 +65,9 @@ class BootimgPcbiosPlugin(SourcePlugin):
65 raise ImageError("Unable to set MBR to %s" % full_path) 65 raise ImageError("Unable to set MBR to %s" % full_path)
66 66
67 @classmethod 67 @classmethod
68 def do_configure_partition(self, part, cr, cr_workdir, oe_builddir, 68 def do_configure_partition(self, part, source_params, cr, cr_workdir,
69 bootimg_dir, kernel_dir, native_sysroot): 69 oe_builddir, bootimg_dir, kernel_dir,
70 native_sysroot):
70 """ 71 """
71 Called before do_prepare_partition(), creates syslinux config 72 Called before do_prepare_partition(), creates syslinux config
72 """ 73 """
@@ -118,8 +119,9 @@ class BootimgPcbiosPlugin(SourcePlugin):
118 cfg.close() 119 cfg.close()
119 120
120 @classmethod 121 @classmethod
121 def do_prepare_partition(self, part, cr, cr_workdir, oe_builddir, bootimg_dir, 122 def do_prepare_partition(self, part, source_params, cr, cr_workdir,
122 kernel_dir, rootfs_dir, native_sysroot): 123 oe_builddir, bootimg_dir, kernel_dir,
124 rootfs_dir, native_sysroot):
123 """ 125 """
124 Called to do the actual content population for a partition i.e. it 126 Called to do the actual content population for a partition i.e. it
125 'prepares' the partition to be incorporated into the image. 127 'prepares' the partition to be incorporated into the image.
diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py
index 919e97e6b6..a432a18705 100644
--- a/scripts/lib/wic/plugins/source/rootfs.py
+++ b/scripts/lib/wic/plugins/source/rootfs.py
@@ -62,8 +62,9 @@ class RootfsPlugin(SourcePlugin):
62 return image_rootfs_dir 62 return image_rootfs_dir
63 63
64 @classmethod 64 @classmethod
65 def do_prepare_partition(self, part, cr, cr_workdir, oe_builddir, bootimg_dir, 65 def do_prepare_partition(self, part, source_params, cr, cr_workdir,
66 kernel_dir, krootfs_dir, native_sysroot): 66 oe_builddir, bootimg_dir, kernel_dir,
67 krootfs_dir, native_sysroot):
67 """ 68 """
68 Called to do the actual content population for a partition i.e. it 69 Called to do the actual content population for a partition i.e. it
69 'prepares' the partition to be incorporated into the image. 70 'prepares' the partition to be incorporated into the image.