]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: remove empty plugin methods
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 22 Mar 2017 13:42:30 +0000 (15:42 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Mar 2017 15:07:37 +0000 (15:07 +0000)
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]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/bootimg-partition.py
scripts/lib/wic/plugins/source/fsimage.py
scripts/lib/wic/plugins/source/rawcopy.py

index 4afc8a2a07b2c8c5fbd9ff76d989841380485ca2..13fddbd4780c5c7f29e7b4a18785b45b82224edc 100644 (file)
@@ -43,26 +43,6 @@ class BootimgPartitionPlugin(SourcePlugin):
 
     name = 'bootimg-partition'
 
-    @classmethod
-    def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir,
-                        bootimg_dir, kernel_dir, native_sysroot):
-        """
-        Called after all partitions have been prepared and assembled into a
-        disk image. Do nothing.
-        """
-        pass
-
-    @classmethod
-    def do_configure_partition(cls, part, source_params, cr, cr_workdir,
-                               oe_builddir, bootimg_dir, kernel_dir,
-                               native_sysroot):
-        """
-        Called before do_prepare_partition(). Possibly prepare
-        configuration files of some sort.
-
-        """
-        pass
-
     @classmethod
     def do_prepare_partition(cls, part, source_params, cr, cr_workdir,
                              oe_builddir, bootimg_dir, kernel_dir,
index 8fbe44d9756a89acee378e6a6a7c9aa6c5e49407..f7814995e542647a6dfea7de1d642a930575dba6 100644 (file)
@@ -31,25 +31,6 @@ class FSImagePlugin(SourcePlugin):
 
     name = 'fsimage'
 
-    @classmethod
-    def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir,
-                        bootimg_dir, kernel_dir, native_sysroot):
-        """
-        Called after all partitions have been prepared and assembled into a
-        disk image. Do nothing.
-        """
-        pass
-
-    @classmethod
-    def do_configure_partition(cls, part, source_params, cr, cr_workdir,
-                               oe_builddir, bootimg_dir, kernel_dir,
-                               native_sysroot):
-        """
-        Called before do_prepare_partition(). Possibly prepare
-        configuration files of some sort.
-        """
-        pass
-
     @classmethod
     def do_prepare_partition(cls, part, source_params, cr, cr_workdir,
                              oe_builddir, bootimg_dir, kernel_dir,
index 431afce7c4dc320deae4578702c3cc066dc10fa8..e1c4f5e7db8959f4a35911da5d13ea3f62476397 100644 (file)
@@ -32,25 +32,6 @@ class RawCopyPlugin(SourcePlugin):
 
     name = 'rawcopy'
 
-    @classmethod
-    def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir,
-                        bootimg_dir, kernel_dir, native_sysroot):
-        """
-        Called after all partitions have been prepared and assembled into a
-        disk image. Do nothing.
-        """
-        pass
-
-    @classmethod
-    def do_configure_partition(cls, part, source_params, cr, cr_workdir,
-                               oe_builddir, bootimg_dir, kernel_dir,
-                               native_sysroot):
-        """
-        Called before do_prepare_partition(). Possibly prepare
-        configuration files of some sort.
-        """
-        pass
-
     @classmethod
     def do_prepare_partition(cls, part, source_params, cr, cr_workdir,
                              oe_builddir, bootimg_dir, kernel_dir,