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/plugins/source/isoimage_isohybrid.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/lib/wic/plugins/source/isoimage_isohybrid.py') diff --git a/scripts/lib/wic/plugins/source/isoimage_isohybrid.py b/scripts/lib/wic/plugins/source/isoimage_isohybrid.py index 607356ad13..5d42eb5d3e 100644 --- a/scripts/lib/wic/plugins/source/isoimage_isohybrid.py +++ b/scripts/lib/wic/plugins/source/isoimage_isohybrid.py @@ -4,7 +4,7 @@ # SPDX-License-Identifier: GPL-2.0-only # # DESCRIPTION -# This implements the 'isoimage-isohybrid' source plugin class for 'wic' +# This implements the 'isoimage_isohybrid' source plugin class for 'wic' # # AUTHORS # Mihaly Varga @@ -35,7 +35,7 @@ class IsoImagePlugin(SourcePlugin): bootloader files. Example kickstart file: - part /boot --source isoimage-isohybrid --sourceparams="loader=grub-efi, \\ + part /boot --source isoimage_isohybrid --sourceparams="loader=grub-efi, \\ image_name= IsoImage" --ondisk cd --label LIVECD bootloader --timeout=10 --append=" " @@ -45,7 +45,7 @@ class IsoImagePlugin(SourcePlugin): extension added by direct imeger plugin) and a file named IsoImage-cd.iso """ - name = 'isoimage-isohybrid' + name = 'isoimage_isohybrid' @classmethod def do_configure_syslinux(cls, creator, cr_workdir): @@ -340,10 +340,10 @@ class IsoImagePlugin(SourcePlugin): cls.do_configure_grubefi(part, creator, target_dir) else: - raise WicError("unrecognized bootimg-efi loader: %s" % + raise WicError("unrecognized bootimg_efi loader: %s" % source_params['loader']) except KeyError: - raise WicError("bootimg-efi requires a loader, none specified") + raise WicError("bootimg_efi requires a loader, none specified") # Create efi.img that contains bootloader files for EFI booting # if ISODIR didn't exist or didn't contains it -- cgit v1.2.3-54-g00ecf