summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2024-12-18 09:36:01 -0600
committerSteve Sakoman <steve@sakoman.com>2025-01-09 06:25:36 -0800
commit339c54b2207e17762a76c3fef704ce66e4b5f596 (patch)
tree9fc3dda4625c3ecc3c99af4954851ecb052f5ed1 /meta/classes-recipe
parent55c2943e436e61cbe8022852c34680624735d4c3 (diff)
downloadpoky-339c54b2207e17762a76c3fef704ce66e4b5f596.tar.gz
populate_sdk_ext: write_local_conf add shutil import
Add shutil import to resolve error: Exception: NameError: name 'shutil' is not defined, Did you forget to import 'shutil' (From OE-Core rev: 759fb4bb4f5d5cf7f124f64b9314a34e41f58d23) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b64263a43b4d82f1ebba13815bccb8a8cd3127f9) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/populate_sdk_ext.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass
index e76ef60720..662cc493ce 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -290,6 +290,8 @@ def copy_uninative(d, baseoutpath):
290 return uninative_checksum 290 return uninative_checksum
291 291
292def write_local_conf(d, baseoutpath, derivative, core_meta_subdir, uninative_checksum): 292def write_local_conf(d, baseoutpath, derivative, core_meta_subdir, uninative_checksum):
293 import shutil
294
293 #check if custome templateconf path is set 295 #check if custome templateconf path is set
294 use_custom_templateconf = d.getVar('SDK_CUSTOM_TEMPLATECONF') 296 use_custom_templateconf = d.getVar('SDK_CUSTOM_TEMPLATECONF')
295 297