diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-03-22 15:42:30 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-23 13:19:49 +0000 |
commit | 5c04e371405bb51159726c5265c35e96316f71fd (patch) | |
tree | e2bcfd286620ec1dbbc5972b7b65db3d345b33b8 /scripts/lib/wic | |
parent | 3ea735d390799012b16505f845c5d7e2d14d4a9b (diff) | |
download | poky-5c04e371405bb51159726c5265c35e96316f71fd.tar.gz |
wic: remove empty plugin methods
Removed do_install_disk and do_configure_partition methods from
bootimage-partition, fsimage and rawcopy plugins as they're empy
and not used.
[YOCTO #10618]
(From OE-Core rev: d58c8ef2836418056f776a9586e0bb0d33afb788)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-partition.py | 20 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/fsimage.py | 19 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/rawcopy.py | 19 |
3 files changed, 0 insertions, 58 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py b/scripts/lib/wic/plugins/source/bootimg-partition.py index 4afc8a2a07..13fddbd478 100644 --- a/scripts/lib/wic/plugins/source/bootimg-partition.py +++ b/scripts/lib/wic/plugins/source/bootimg-partition.py | |||
@@ -44,26 +44,6 @@ class BootimgPartitionPlugin(SourcePlugin): | |||
44 | name = 'bootimg-partition' | 44 | name = 'bootimg-partition' |
45 | 45 | ||
46 | @classmethod | 46 | @classmethod |
47 | def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir, | ||
48 | bootimg_dir, kernel_dir, native_sysroot): | ||
49 | """ | ||
50 | Called after all partitions have been prepared and assembled into a | ||
51 | disk image. Do nothing. | ||
52 | """ | ||
53 | pass | ||
54 | |||
55 | @classmethod | ||
56 | def do_configure_partition(cls, part, source_params, cr, cr_workdir, | ||
57 | oe_builddir, bootimg_dir, kernel_dir, | ||
58 | native_sysroot): | ||
59 | """ | ||
60 | Called before do_prepare_partition(). Possibly prepare | ||
61 | configuration files of some sort. | ||
62 | |||
63 | """ | ||
64 | pass | ||
65 | |||
66 | @classmethod | ||
67 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, | 47 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, |
68 | oe_builddir, bootimg_dir, kernel_dir, | 48 | oe_builddir, bootimg_dir, kernel_dir, |
69 | rootfs_dir, native_sysroot): | 49 | rootfs_dir, native_sysroot): |
diff --git a/scripts/lib/wic/plugins/source/fsimage.py b/scripts/lib/wic/plugins/source/fsimage.py index 8fbe44d975..f7814995e5 100644 --- a/scripts/lib/wic/plugins/source/fsimage.py +++ b/scripts/lib/wic/plugins/source/fsimage.py | |||
@@ -32,25 +32,6 @@ class FSImagePlugin(SourcePlugin): | |||
32 | name = 'fsimage' | 32 | name = 'fsimage' |
33 | 33 | ||
34 | @classmethod | 34 | @classmethod |
35 | def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir, | ||
36 | bootimg_dir, kernel_dir, native_sysroot): | ||
37 | """ | ||
38 | Called after all partitions have been prepared and assembled into a | ||
39 | disk image. Do nothing. | ||
40 | """ | ||
41 | pass | ||
42 | |||
43 | @classmethod | ||
44 | def do_configure_partition(cls, part, source_params, cr, cr_workdir, | ||
45 | oe_builddir, bootimg_dir, kernel_dir, | ||
46 | native_sysroot): | ||
47 | """ | ||
48 | Called before do_prepare_partition(). Possibly prepare | ||
49 | configuration files of some sort. | ||
50 | """ | ||
51 | pass | ||
52 | |||
53 | @classmethod | ||
54 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, | 35 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, |
55 | oe_builddir, bootimg_dir, kernel_dir, | 36 | oe_builddir, bootimg_dir, kernel_dir, |
56 | rootfs_dir, native_sysroot): | 37 | rootfs_dir, native_sysroot): |
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py index 431afce7c4..e1c4f5e7db 100644 --- a/scripts/lib/wic/plugins/source/rawcopy.py +++ b/scripts/lib/wic/plugins/source/rawcopy.py | |||
@@ -33,25 +33,6 @@ class RawCopyPlugin(SourcePlugin): | |||
33 | name = 'rawcopy' | 33 | name = 'rawcopy' |
34 | 34 | ||
35 | @classmethod | 35 | @classmethod |
36 | def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir, | ||
37 | bootimg_dir, kernel_dir, native_sysroot): | ||
38 | """ | ||
39 | Called after all partitions have been prepared and assembled into a | ||
40 | disk image. Do nothing. | ||
41 | """ | ||
42 | pass | ||
43 | |||
44 | @classmethod | ||
45 | def do_configure_partition(cls, part, source_params, cr, cr_workdir, | ||
46 | oe_builddir, bootimg_dir, kernel_dir, | ||
47 | native_sysroot): | ||
48 | """ | ||
49 | Called before do_prepare_partition(). Possibly prepare | ||
50 | configuration files of some sort. | ||
51 | """ | ||
52 | pass | ||
53 | |||
54 | @classmethod | ||
55 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, | 36 | def do_prepare_partition(cls, part, source_params, cr, cr_workdir, |
56 | oe_builddir, bootimg_dir, kernel_dir, | 37 | oe_builddir, bootimg_dir, kernel_dir, |
57 | rootfs_dir, native_sysroot): | 38 | rootfs_dir, native_sysroot): |