diff options
| author | Mark Hatle <mark.hatle@kernel.crashing.org> | 2024-12-18 09:35:42 -0600 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-01-09 06:02:48 -0800 |
| commit | 59f1177527a2a559dd8afc637383f763f141018f (patch) | |
| tree | 7b6c76550227c221d1ba4e722166a0fb487e21f8 | |
| parent | 991f1b56b2fe6e59916aded60767569332edef5c (diff) | |
| download | poky-59f1177527a2a559dd8afc637383f763f141018f.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: 6f0d75ed7bbae03301bd41db1076ce926c5e742c)
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>
| -rw-r--r-- | meta/classes-recipe/populate_sdk_ext.bbclass | 2 |
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 | ||
| 291 | def write_local_conf(d, baseoutpath, derivative, core_meta_subdir, uninative_checksum): | 291 | def 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 | ||
