summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2024-12-17 12:04:58 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-18 11:11:55 +0000
commitbf3815404775d6bcb29f8a63bbedac03e2fd7a0b (patch)
treea8202232aa5582dd6f143db519174d66856d34e1
parent5c3a3cf22543f8e04873aa7e39f451117c6b9035 (diff)
downloadpoky-bf3815404775d6bcb29f8a63bbedac03e2fd7a0b.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: b64263a43b4d82f1ebba13815bccb8a8cd3127f9) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 8cb27ad995..3019dad0f3 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -289,6 +289,8 @@ def copy_uninative(d, baseoutpath):
289 return uninative_checksum 289 return uninative_checksum
290 290
291def write_local_conf(d, baseoutpath, derivative, core_meta_subdir, uninative_checksum): 291def write_local_conf(d, baseoutpath, derivative, core_meta_subdir, uninative_checksum):
292 import shutil
293
292 #check if custome templateconf path is set 294 #check if custome templateconf path is set
293 use_custom_templateconf = d.getVar('SDK_CUSTOM_TEMPLATECONF') 295 use_custom_templateconf = d.getVar('SDK_CUSTOM_TEMPLATECONF')
294 296