From patchwork Wed Jun 11 15:33:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anibal Limon X-Patchwork-Id: 64806 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 119B4C71133 for ; Wed, 11 Jun 2025 15:33:31 +0000 (UTC) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) by mx.groups.io with SMTP id smtpd.web11.1417.1749656009992259952 for ; Wed, 11 Jun 2025 08:33:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@limonsoftware-com.20230601.gappssmtp.com header.s=20230601 header.b=vhOup7iK; spf=pass (domain: limonsoftware.com, ip: 209.85.219.181, mailfrom: anibal@limonsoftware.com) Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-e7db6aaef22so5104037276.0 for ; Wed, 11 Jun 2025 08:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=limonsoftware-com.20230601.gappssmtp.com; s=20230601; t=1749656009; x=1750260809; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yTmL3SXw/APnGXbvYfk8+4zC0XkzT5ak+uUEFwdogWk=; b=vhOup7iKiS/leFt5OBj5SMAGE3EkuRcmEsq4yP7rqy1MPL9H3M1t8fbQtHBUS/NJ1V oN/PCT8T3uFplehWCbSLWVhBeKx+su95iQse7Ij6a6ihbBNOepjZBHaWUplcHpIep/9n ZZY6yto0CmwEY1ItUxg176FpCw92YaEXB5vP5GItMneCb5PLn5y/f/x9AudFCSSY7Tun zXgXVkEEPlxhdQmOm+DK7bzg9Fhq2vjkRrGM/CsupJaVyqwJqQFnBJO0DAcgN5hdyjXn KbIJhZu9BGtlIl2q2rqleT787Jsj0JDbG/gKzTjjqzx6MLmnAn+cIIKSmHXEg4YTsTII 1pfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749656009; x=1750260809; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yTmL3SXw/APnGXbvYfk8+4zC0XkzT5ak+uUEFwdogWk=; b=keSBBdhalk6TNutm8l2W5QE5IV+DeiarTroshvDjhyAJUmo0O6aqrLKLHJv+9mImcg levstmtdp/UR9Aq/c8F0Abfp7kLcx//rs//DRANcMVDjvxiQW4CvrdD496CEYnMN1/OF InyKW+Oi0rJdF9xmAbIKFIZso5dsxa3mNHkmmXj2Gli9rs/9ly+Np6gsGbpSmRfvhl4Z F5RlyVguQqx1+rLTnhPkKlgO8z3/6zuO/bWblLV/f1bnTW1DXBPcjk8teuxHumeECQjB ab0Ma3eXvGnNRq/6GNMXfVfALrnKLxbqaoLidKiLP+/7WbgVz+FLLsGgUeKzskK2iRNL xziA== X-Gm-Message-State: AOJu0YzUf5d2IlDz7usjiR42bESUSw8fuJAM10y6720//wH9+Y7aG9KS o/8PkP9SCj52bZ+pRasaY5E9gQmrcXggEStywTIPQ8QQAEjSbVCg/PENq09PpiLCNqHWQJA+pmx S9EgmdMI= X-Gm-Gg: ASbGncsMkpITR8IyHx9cCHOZht8Lv5TuX9+KqkjUKTZi8CNsm3F76Te4erA8/On1Bxr nfzMtMT06Trd9x+ZRYLv24bukmaszHjiMIoYfp2RetXd1hXOqoEdKhYU8/fkrJ8YWjZrb8ATE2F fR7futmBsn6pd7WQco06iLpoBMieWTjtIZilYOuhatIHdkVIX+SwTbyTUaEzDD4NCpH6krN8E/1 45AaD0VUG16XT1hp8xA/OBoHaKraEZqnG9gnhDKX3qGuEQK/KNYKdhQ6G+0STRGB3X7ru81K7a6 A74WxHGuCb2TzkIsjoelJtyBJV4HbEv2Kcd3yAA0mIibhR4eHQ3jcbMhfzHsl20X5G0= X-Google-Smtp-Source: AGHT+IFdTu3KDhj6Eh+/Uj53X/U8KEC5qVFoT12hcZFRpzFLc0DwCJAshniKanMfQm7S1mdm7YfNQg== X-Received: by 2002:a05:6902:128f:b0:e7d:a785:c790 with SMTP id 3f1490d57ef6-e81ff69bc07mr4899665276.43.1749656008922; Wed, 11 Jun 2025 08:33:28 -0700 (PDT) Received: from ls.ts.net ([189.172.229.129]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e81a402c9aasm3589608276.18.2025.06.11.08.33.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jun 2025 08:33:28 -0700 (PDT) From: Anibal Limon To: openembedded-core@lists.openembedded.org Cc: richard.purdie@linuxfoundation.org, Ross.Burton@arm.com, bruce.ashfield@gmail.com, Anibal Limon Subject: [PATCH 1/3] wic: pluginbase workaround on invalid module filenames Date: Wed, 11 Jun 2025 15:33:17 +0000 Message-Id: <20250611153319.54778-1-anibal@limonsoftware.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 11 Jun 2025 15:33:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/218458 Apply a workaround on invalid identifiers replace '-' to '_' to load the module with valid identifier. Let the user know (warning) about plugin doesn't has a valid module identifier to encourage fix, it gives time before rename oe-core wic plugins and drop workaround. Signed-off-by: Anibal Limon --- scripts/lib/wic/pluginbase.py | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index b64568339b..ec515229e7 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py @@ -8,6 +8,7 @@ __all__ = ['ImagerPlugin', 'SourcePlugin'] import os +import sys import logging import types @@ -20,7 +21,8 @@ from wic.misc import get_bitbake_var PLUGIN_TYPES = ["imager", "source"] -SCRIPTS_PLUGIN_DIR = ["scripts/lib/wic/plugins", "lib/wic/plugins"] +SCRIPTS_PLUGIN_WIC_DIR = "wic/plugins" +SCRIPTS_PLUGIN_BASE_DIR = ["scripts/lib", "lib"] logger = logging.getLogger('wic') @@ -40,7 +42,9 @@ class PluginMgr: cls._plugin_dirs = [os.path.join(os.path.dirname(__file__), 'plugins')] layers = get_bitbake_var("BBLAYERS") or '' for layer_path in layers.split(): - for script_plugin_dir in SCRIPTS_PLUGIN_DIR: + for script_plugin_base_dir in SCRIPTS_PLUGIN_BASE_DIR: + script_plugin_dir = os.path.join(script_plugin_base_dir, + SCRIPTS_PLUGIN_WIC_DIR); path = os.path.join(layer_path, script_plugin_dir) path = os.path.abspath(os.path.expanduser(path)) if path not in cls._plugin_dirs and os.path.isdir(path): @@ -53,13 +57,26 @@ class PluginMgr: if os.path.isdir(ppath): for fname in os.listdir(ppath): if fname.endswith('.py'): - mname = fname[:-3] mpath = os.path.join(ppath, fname) + # If module doesn't have a valid identifier let the + # user know and apply a workaround replacing '-' + # with '_' to load module with valid identifier. + mname = fname[:-3] + if not mname.isidentifier(): + logger.warn("invalid identifier at plugin module"\ + " %s, please fix it.", mpath) + mname = mname.replace("-", "_") + logger.debug("loading plugin module %s", mpath) - spec = importlib.util.spec_from_file_location(mname, mpath) + spec = importlib.util.spec_from_file_location( + mname, mpath) module = importlib.util.module_from_spec(spec) spec.loader.exec_module(module) + cname = os.path.join(SCRIPTS_PLUGIN_WIC_DIR, + ptype, mname).replace('/', '.') + sys.modules[cname] = module + return PLUGINS.get(ptype) class PluginMeta(type): From patchwork Wed Jun 11 15:33:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anibal Limon X-Patchwork-Id: 64807 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 145D0C677C4 for ; Wed, 11 Jun 2025 15:33:41 +0000 (UTC) Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) by mx.groups.io with SMTP id smtpd.web11.1418.1749656014117941258 for ; Wed, 11 Jun 2025 08:33:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@limonsoftware-com.20230601.gappssmtp.com header.s=20230601 header.b=0wMKY3Ff; spf=pass (domain: limonsoftware.com, ip: 209.85.219.174, mailfrom: anibal@limonsoftware.com) Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-e733a6ff491so6660219276.2 for ; Wed, 11 Jun 2025 08:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=limonsoftware-com.20230601.gappssmtp.com; s=20230601; t=1749656013; x=1750260813; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y73mLOTZa9cKGdXrQ2+OP9W79TQ9tESrJ5NRwj67WB4=; b=0wMKY3FfnmF1bQqTC7sVHDzYmb9K8FFrZk+yMm6Pm7XqdzcQPi0sPaC/G5+BUCwfi1 z7F96tX9ucGBhteDDeVTYBjgriQ2d6FhppScHIwyHs2rjsO6Oo9z9wOQ3Mo8xaNFcWYX kLpFbdx9lPHEBs5HW6NRDrp7JVrnob3lqoBvrecrDaW/E9tHJb2fFmjWT5rwx/n55JcJ KqKRpBNk4D5CFy/0LkXJa13Mz6O/+q8jJgZGPjDFBU5zPABLcF9eaCw2c7ZQuItllIPp nbpWEtP57jnz/LjyQwOO4zzuwE3X+Ts07dYFnVovnpRSD7XuQFQoiZ+I24pZJMTV92Lk IjJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749656013; x=1750260813; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y73mLOTZa9cKGdXrQ2+OP9W79TQ9tESrJ5NRwj67WB4=; b=RTsgUtV7FhFMZFT061esdUud5D5WMBo4nfTxg1RXx9Kt3oknRvGcpKrgreKtdUu9tN Qp1KLpxtyJZVUAArQJlroEl6ddUmdZ3Zzi9HA73J+BpO8KlGb6Ht9TwrApN7FLOX4JhS fK+5Dd7qptvoEfym9xosapFY2fAq7cmmonyUekjHfDxrnnxFNTJZ9Xr7wmi7gjdPayCj 54USByipyFK1Easgx8LMNkEK/ECd0TEfLxSoooSn/rRU5xCjgvRhG3ORP8+0nhWSlj/s JttTPa1g6lgyjKuVAcEN1P2JPW4GoFsNCi73zsRsAWc7OFm64LfdQBsaXgICh6TZzaB9 xpRA== X-Gm-Message-State: AOJu0YwaVapk0ViQyq7tOfpY3f0ua4x/yfUBCIJJt6EpcYJ40T+M94BT 0x+DUASiIcQXQ+6zb6rqtNv2RJFDHEo/2Nfn4LtKnnlye5UIgnsaTPl/HcMW8PmZ3vG87yyev8S G6JPfq/Q= X-Gm-Gg: ASbGnctoSRGGZOmJmgOQwd/EWXsvE7Lm5d15rzypQeRYfboz+Rt5xoDagVgM0DfjJ51 F82sPJSb3A9PZig+t6sQ5zDmzgUghcyp/EQ2E26h6QRUz7m/SC1c84rAoc0xhAW5wKYFTIr+D4Y qOwIlu6U9Asm6bP1hqejre4lNkTUbfqsnN2sbUylsFzSZ3h60goMvh2fZvjmJ+HfnqBOoHgnz4y m6WvlJVWfU9CECwjAPg9Ceho8lYbUxlC9XfFGv4ytuh4wRhltUCDnJnif6+Sk84Z6NqTm7z24fH rTIzC6+J/3cZIyA9Zz0oOX5fB7KgD6W8ZSu+4nrYLRDpmOFSFUnyyQxjjDi5B6uj2s3M3ueNTvi SmA== X-Google-Smtp-Source: AGHT+IHewMIxRSUNa2S6o/ZZ/6JfJXTyRvY42ZxxYaZUDzbd4bJylgTZBkJDnXg3wMUq15oRzhnF4g== X-Received: by 2002:a05:6902:2e85:b0:e81:78c2:7327 with SMTP id 3f1490d57ef6-e81ff601a40mr4330402276.14.1749656013124; Wed, 11 Jun 2025 08:33:33 -0700 (PDT) Received: from ls.ts.net ([189.172.229.129]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e81a402c9aasm3589608276.18.2025.06.11.08.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jun 2025 08:33:32 -0700 (PDT) From: Anibal Limon To: openembedded-core@lists.openembedded.org Cc: richard.purdie@linuxfoundation.org, Ross.Burton@arm.com, bruce.ashfield@gmail.com, Anibal Limon Subject: [PATCH 2/3] wic: pluginbase ensure layer order when load plugins Date: Wed, 11 Jun 2025 15:33:18 +0000 Message-Id: <20250611153319.54778-2-anibal@limonsoftware.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250611153319.54778-1-anibal@limonsoftware.com> References: <20250611153319.54778-1-anibal@limonsoftware.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 11 Jun 2025 15:33:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/218459 To support extensions on wic plugins, the load order needs to be grauntee matching BBLAYERS variable. Fix cases when try to import a plugin from another layer, example of the case to fix, ``` Traceback (most recent call last): File "/workspaces/ls/linux/layers/openembedded-core/scripts/wic",line 547, in sys.exit(main(sys.argv[1:])) ^^^^^^^^^^^^^^^^^^ ... File "/workspaces/ls/linux/layers/openembedded-core/scripts/lib/wic/ engine.py", line 137, in list_source_plugins plugins = PluginMgr.get_plugins('source') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspaces/ls/linux/layers/openembedded-core/scripts/lib/wic/ pluginbase.py", line 73, in get_plugins spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/workspaces/ls/linux/limonsoftware/bsp/scripts/lib/wic/plugins/ source/bootimg_rpi_autoboot_partition.py", line 1, in from wic.plugins.source.bootimg_partition import BootimgPartitionPlugin ModuleNotFoundError: No module named 'wic.plugins.source.bootimg_partition' ``` Signed-off-by: Anibal Limon --- scripts/lib/wic/pluginbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index ec515229e7..d2229c91a1 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py @@ -48,7 +48,7 @@ class PluginMgr: path = os.path.join(layer_path, script_plugin_dir) path = os.path.abspath(os.path.expanduser(path)) if path not in cls._plugin_dirs and os.path.isdir(path): - cls._plugin_dirs.insert(0, path) + cls._plugin_dirs.append(path) if ptype not in PLUGINS: # load all ptype plugins From patchwork Wed Jun 11 15:33:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anibal Limon X-Patchwork-Id: 64808 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 163CCC71133 for ; Wed, 11 Jun 2025 15:33:41 +0000 (UTC) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) by mx.groups.io with SMTP id smtpd.web11.1422.1749656020379572485 for ; Wed, 11 Jun 2025 08:33:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@limonsoftware-com.20230601.gappssmtp.com header.s=20230601 header.b=O9b3hThC; spf=pass (domain: limonsoftware.com, ip: 209.85.219.177, mailfrom: anibal@limonsoftware.com) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-e819aa98db9so3974884276.3 for ; Wed, 11 Jun 2025 08:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=limonsoftware-com.20230601.gappssmtp.com; s=20230601; t=1749656018; x=1750260818; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qKZmdzpWEt2qxYKAYYufB81AlCdc4sR6hO54vloNjlY=; b=O9b3hThClMohSVYsREcY1bOaelltOVJdMr7CHX9fAilaeTnIHA5MMLMiUVeAiZIVxX ZL11IYm1/TpOsakbQTXmfoYN5mt8tH0MG0xMRg05rW/aJjeLx2rRQgAhbwwPAXfHbOj9 ocoPaTK0d4ZGZ9sko5zMTDYDn106EZ5UxqGUB6YcwOdLYPvp0VigGQ5PtU6eDYnh+oXu XrF9afeQHjlapAX+Wp8YW2w2CR1mBJyIZWpJYlF1M/5nynW2KdnCzU8aN41Ty1wguKaa 1Sr26C7sNYm8PEF1o3uQt9KD9zjRzxR1JQFZD41l+xO6XV95hDeoE7W2Gy71NJV7RAot xVuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749656018; x=1750260818; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qKZmdzpWEt2qxYKAYYufB81AlCdc4sR6hO54vloNjlY=; b=A7zG4jmXx8Qn/E4OkgXZlWVBrB9hTRbO2xiyKemMh/RnAcQniF2eFxV2b7p2yaG3oV z/N9puRa69NspcolXfh/a9tORHapzUfbmk9dhKlNsfYZ/92Eyis9c9fBYMvzUCOSD7wT IvoGjWGO3iM1WA2Lk1WTUvpUojP7kU8SOeeH0dNhWKLkDVBKCuBGTzGk6K9T6C4Obmmw KJEN9/u4kVKGyFPmtC+La54dtQmnrFr1yP9NHsv4F3myQpZGDyt/pxRm19ZAXOmMdT6D RI18qJiLVq8rV2JCSLTUKOnuehleKNbo4edRGAZqlfkvfSCebSDQOhRXzM8NXcGL/Qcg PXcA== X-Gm-Message-State: AOJu0YxLWF0EQcWwSwINt5Lc7STidAjwyOAfV6AlDT3iUhBvCTg2Cl5o iIQRPt8K6qZV5DMG0LvTRkX1lYxfhk01H3uHL24oLVLsjeYP3BXYHhe+XvDxSq/DAlzVdVz1dhA 8GuKBtAQ= X-Gm-Gg: ASbGncuyR6IWPfNDywqXSwkgdUuVDkC8ZIck/sTiN7EebxhHkF7RTV94oP+qM3iUFUD Md9ZhnrHJ1SrM+ZEeYliDiahbqZSac9Z88vcSgZbXiJvJa/wef0eEWeU3s/Ie6RKjUKOq5wnDLS 9anq0OI4+e1wQhtpBfS2ge07XKzr9eriaLdiHBIG8o4A+VeeZt+2DH+wwDpBVw3Z3YwhYQbzq0g 0DtnFZGfrzSoeaX0ksEmoYl2wReVZUyKA/aZExqe9GmpNJwMYWueWnWoImXdzQpWsIBGoDzm9EA DRr70VDx0O7MEw0vHRXcc2vhHpmKCFyuRTfG2liBXEMJRURyZ8ko7hM3/9mUNLRyKlWqgvPhrvJ odw== X-Google-Smtp-Source: AGHT+IGtjo/bg01z5ES+FomlKaHo6+SoJGo5ptRuxLUGthM1dLdiR1rXI9Bn6SZBP1JljwbfAXmJ0g== X-Received: by 2002:a05:6902:3009:b0:e82:54:5acb with SMTP id 3f1490d57ef6-e8200546959mr2481729276.2.1749656018395; Wed, 11 Jun 2025 08:33:38 -0700 (PDT) Received: from ls.ts.net ([189.172.229.129]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e81a402c9aasm3589608276.18.2025.06.11.08.33.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jun 2025 08:33:36 -0700 (PDT) From: Anibal Limon To: openembedded-core@lists.openembedded.org Cc: richard.purdie@linuxfoundation.org, Ross.Burton@arm.com, bruce.ashfield@gmail.com, Anibal Limon Subject: [PATCH 3/3] wic: plugins source bootimage/isoimage rename to have valid indentifier Date: Wed, 11 Jun 2025 15:33:19 +0000 Message-Id: <20250611153319.54778-3-anibal@limonsoftware.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250611153319.54778-1-anibal@limonsoftware.com> References: <20250611153319.54778-1-anibal@limonsoftware.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 11 Jun 2025 15:33:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/218460 Python has rules on valid identifiers and not support modules with '-' on the filename, change to '_'; Signed-off-by: Anibal Limon --- .../source/{bootimg-biosplusefi.py => bootimg_biosplusefi.py} | 0 scripts/lib/wic/plugins/source/{bootimg-efi.py => bootimg_efi.py} | 0 .../plugins/source/{bootimg-partition.py => bootimg_partition.py} | 0 .../wic/plugins/source/{bootimg-pcbios.py => bootimg_pcbios.py} | 0 .../source/{isoimage-isohybrid.py => isoimage_isohybrid.py} | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename scripts/lib/wic/plugins/source/{bootimg-biosplusefi.py => bootimg_biosplusefi.py} (100%) rename scripts/lib/wic/plugins/source/{bootimg-efi.py => bootimg_efi.py} (100%) rename scripts/lib/wic/plugins/source/{bootimg-partition.py => bootimg_partition.py} (100%) rename scripts/lib/wic/plugins/source/{bootimg-pcbios.py => bootimg_pcbios.py} (100%) rename scripts/lib/wic/plugins/source/{isoimage-isohybrid.py => isoimage_isohybrid.py} (100%) diff --git a/scripts/lib/wic/plugins/source/bootimg-biosplusefi.py b/scripts/lib/wic/plugins/source/bootimg_biosplusefi.py similarity index 100% rename from scripts/lib/wic/plugins/source/bootimg-biosplusefi.py rename to scripts/lib/wic/plugins/source/bootimg_biosplusefi.py diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg_efi.py similarity index 100% rename from scripts/lib/wic/plugins/source/bootimg-efi.py rename to scripts/lib/wic/plugins/source/bootimg_efi.py diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py b/scripts/lib/wic/plugins/source/bootimg_partition.py similarity index 100% rename from scripts/lib/wic/plugins/source/bootimg-partition.py rename to scripts/lib/wic/plugins/source/bootimg_partition.py diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg_pcbios.py similarity index 100% rename from scripts/lib/wic/plugins/source/bootimg-pcbios.py rename to scripts/lib/wic/plugins/source/bootimg_pcbios.py diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage_isohybrid.py similarity index 100% rename from scripts/lib/wic/plugins/source/isoimage-isohybrid.py rename to scripts/lib/wic/plugins/source/isoimage_isohybrid.py