From a65fd2b9d58a9b7dc4c17a557eee555356334c2c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 26 May 2025 12:56:59 +0100 Subject: wic: Update after plugin name changes Update the plugin names to account for the "-" to "_" plugin name change. (From OE-Core rev: afa1b5c9f6ed17c021e37a54d0d6abee50a60bf9) Signed-off-by: Richard Purdie --- scripts/lib/wic/help.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/lib/wic/help.py') diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index 9180d75a92..2e3061f343 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py @@ -544,18 +544,18 @@ DESCRIPTION the --source param given to that partition. For example, if the partition is set up like this: - part /boot --source bootimg-pcbios ... + part /boot --source bootimg_pcbios ... then the methods defined as class members of the plugin having the - matching bootimg-pcbios .name class member would be used. + matching bootimg_pcbios .name class member would be used. To be more concrete, here's the plugin definition that would match - a '--source bootimg-pcbios' usage, along with an example method + a '--source bootimg_pcbios' usage, along with an example method that would be called by the wic implementation when it needed to invoke an implementation-specific partition-preparation function: class BootimgPcbiosPlugin(SourcePlugin): - name = 'bootimg-pcbios' + name = 'bootimg_pcbios' @classmethod def do_prepare_partition(self, part, ...) @@ -794,7 +794,7 @@ DESCRIPTION Here is a content of test.wks: - part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 + part /boot --source bootimg_pcbios --ondisk sda --label boot --active --align 1024 part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 bootloader --timeout=0 --append="rootwait rootfstype=ext3 video=vesafb vga=0x318 console=tty0" -- cgit v1.2.3-54-g00ecf