Rename install_task to extra_files_task for clarity
Signed-off-by: Adam Duskett <[email protected]>
---
scripts/lib/wic/plugins/source/extra_partition.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/lib/wic/plugins/source/extra_partition.py
b/scripts/lib/wic/plugins/source/extra_partition.py
index d41743ec40..efe15a4d15 100644
--- a/scripts/lib/wic/plugins/source/extra_partition.py
+++ b/scripts/lib/wic/plugins/source/extra_partition.py
@@ -74,7 +74,7 @@ class ExtraPartitionPlugin(SourcePlugin):
logger.debug('Destination entry: %r', dst_entry)
deploy_files.append(dst_entry)
- cls.install_task = []
+ cls.extra_files_task = []
for deploy_entry in deploy_files:
src, dst = deploy_entry
if '*' in src:
@@ -93,9 +93,9 @@ class ExtraPartitionPlugin(SourcePlugin):
for entry in srcs:
src = os.path.relpath(entry, kernel_dir)
entry_dst_name = entry_name_fn(entry)
- cls.install_task.append((src, entry_dst_name))
+ cls.extra_files_task.append((src, entry_dst_name))
else:
- cls.install_task.append((src, dst))
+ cls.extra_files_task.append((src, dst))
@classmethod
def do_configure_partition(cls, part, source_params, cr, cr_workdir,
@@ -131,7 +131,7 @@ class ExtraPartitionPlugin(SourcePlugin):
if not kernel_dir:
raise WicError("Couldn't find DEPLOY_DIR_IMAGE, exiting")
- for task in cls.install_task:
+ for task in cls.extra_files_task:
src_path, dst_path = task
logger.debug('Install %s as %s', src_path, dst_path)
install_cmd = "install -m 0644 -D %s %s" \
--
2.52.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229270):
https://lists.openembedded.org/g/openembedded-core/message/229270
Mute This Topic: https://lists.openembedded.org/mt/117243674/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-