diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-08-11 20:35:37 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:19:54 +0100 |
commit | 2abbcc843ba888782f6d68748d930c81e6ae7040 (patch) | |
tree | 5c350047d4205737f71fe5a8d2c5d0129d487e6f /scripts/lib/wic/plugins/source/bootimg-efi.py | |
parent | 36f258ee6e60c26fd44b9bc71c318363cec71f42 (diff) | |
download | openembedded-core-2abbcc843ba888782f6d68748d930c81e6ae7040.tar.gz openembedded-core-2abbcc843ba888782f6d68748d930c81e6ae7040.tar.bz2 openembedded-core-2abbcc843ba888782f6d68748d930c81e6ae7040.zip |
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).
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/plugins/source/bootimg-efi.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 10 |
1 files changed, 6 insertions, 4 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): name = 'bootimg-efi' @classmethod - def do_configure_partition(self, part, cr, cr_workdir, oe_builddir, - bootimg_dir, kernel_dir, native_sysroot): + def do_configure_partition(self, source_params, part, cr, cr_workdir, + oe_builddir, bootimg_dir, kernel_dir, + native_sysroot): """ Called before do_prepare_partition(), creates grubefi config """ @@ -92,8 +93,9 @@ class BootimgEFIPlugin(SourcePlugin): cfg.close() @classmethod - def do_prepare_partition(self, part, cr, cr_workdir, oe_builddir, bootimg_dir, - kernel_dir, rootfs_dir, native_sysroot): + def do_prepare_partition(self, part, source_params, cr, cr_workdir, + oe_builddir, bootimg_dir, kernel_dir, + rootfs_dir, native_sysroot): """ Called to do the actual content population for a partition i.e. it 'prepares' the partition to be incorporated into the image. |