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:21:52 +0100 |
commit | e00e902fc7f91be415682e084c839bce7bb64d3f (patch) | |
tree | 46f06f6eabf3d373a7218c5c1ddfcd7b2e839ada /scripts/lib/wic/plugins/source/bootimg-efi.py | |
parent | ef700ea11f51f239a886831ad26ff0d64b57c73d (diff) | |
download | poky-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/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): | |||
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. |