mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5c3a3cf225
commit
bf38154047
@@ -289,6 +289,8 @@ def copy_uninative(d, baseoutpath):
|
|||||||
return uninative_checksum
|
return uninative_checksum
|
||||||
|
|
||||||
def write_local_conf(d, baseoutpath, derivative, core_meta_subdir, uninative_checksum):
|
def write_local_conf(d, baseoutpath, derivative, core_meta_subdir, uninative_checksum):
|
||||||
|
import shutil
|
||||||
|
|
||||||
#check if custome templateconf path is set
|
#check if custome templateconf path is set
|
||||||
use_custom_templateconf = d.getVar('SDK_CUSTOM_TEMPLATECONF')
|
use_custom_templateconf = d.getVar('SDK_CUSTOM_TEMPLATECONF')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user