From 16d10f9c5806dbbd3a44487924f99d4b6d8b6a10 Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Wed, 16 Dec 2020 15:00:26 +0000 Subject: [PATCH] arm-autonomy/wic: Revert Introduce empty plugin to create unformatted empty partitions 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 Signed-off-by: Jon Mason --- .../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 041617d6..00000000 --- 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