All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm-autonomy/wic: Revert Introduce empty plugin to create unformatted empty partitions
@ 2020-12-16 15:00 Diego Sueiro
  2020-12-16 21:29 ` [meta-arm] " Jon Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Diego Sueiro @ 2020-12-16 15:00 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

This reverts commit bc07e6c62adcfa8e997fa7862ddd47ccf1ab5785.

Wic empty plugin upstreamed to oe-core as: 77d174fc80663403ef76c5b808aafc1117d3545c.

Change-Id: I94e6fb8583cf6e26cf141087fe5adb187ea85ef1
Issue-Id: SCM-1520
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
---
 .../scripts/lib/wic/plugins/source/empty.py   | 32 -------------------
 1 file changed, 32 deletions(-)
 delete mode 100644 meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py

diff --git a/meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py b/meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py
deleted file mode 100644
index 041617d..0000000
--- a/meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# SPDX-License-Identifier: MIT
-#
-
-# The empty wic plugin is used to create unformatted empty partitions for wic
-# images.
-# To use it you must pass "empty" as argument for the "--source" parameter in
-# the wks file. For example:
-# part foo --source empty --ondisk sda --size="1024" --align 1024
-
-import logging
-
-from wic.pluginbase import SourcePlugin
-
-logger = logging.getLogger('wic')
-
-class EmptyPartitionPlugin(SourcePlugin):
-    """
-    Populate unformatted empty partition.
-    """
-
-    name = 'empty'
-
-    @classmethod
-    def do_prepare_partition(cls, 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.
-        """
-        return
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-arm] [PATCH] arm-autonomy/wic: Revert Introduce empty plugin to create unformatted empty partitions
  2020-12-16 15:00 [PATCH] arm-autonomy/wic: Revert Introduce empty plugin to create unformatted empty partitions Diego Sueiro
@ 2020-12-16 21:29 ` Jon Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2020-12-16 21:29 UTC (permalink / raw)
  To: Diego Sueiro; +Cc: meta-arm, nd

On Wed, Dec 16, 2020 at 03:00:26PM +0000, Diego Sueiro wrote:
> This reverts commit bc07e6c62adcfa8e997fa7862ddd47ccf1ab5785.
> 
> Wic empty plugin upstreamed to oe-core as: 77d174fc80663403ef76c5b808aafc1117d3545c.
> 
> Change-Id: I94e6fb8583cf6e26cf141087fe5adb187ea85ef1
> Issue-Id: SCM-1520
> Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>

Applied to master.

Thanks,
Jon

> ---
>  .../scripts/lib/wic/plugins/source/empty.py   | 32 -------------------
>  1 file changed, 32 deletions(-)
>  delete mode 100644 meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py
> 
> diff --git a/meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py b/meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py
> deleted file mode 100644
> index 041617d..0000000
> --- a/meta-arm-autonomy/scripts/lib/wic/plugins/source/empty.py
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -#
> -# SPDX-License-Identifier: MIT
> -#
> -
> -# The empty wic plugin is used to create unformatted empty partitions for wic
> -# images.
> -# To use it you must pass "empty" as argument for the "--source" parameter in
> -# the wks file. For example:
> -# part foo --source empty --ondisk sda --size="1024" --align 1024
> -
> -import logging
> -
> -from wic.pluginbase import SourcePlugin
> -
> -logger = logging.getLogger('wic')
> -
> -class EmptyPartitionPlugin(SourcePlugin):
> -    """
> -    Populate unformatted empty partition.
> -    """
> -
> -    name = 'empty'
> -
> -    @classmethod
> -    def do_prepare_partition(cls, 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.
> -        """
> -        return
> -- 
> 2.17.1
> 

> 
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-16 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 15:00 [PATCH] arm-autonomy/wic: Revert Introduce empty plugin to create unformatted empty partitions Diego Sueiro
2020-12-16 21:29 ` [meta-arm] " Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.