mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-09 12:08:30 +00:00
[acrn-configuration tool] make scenario shared file error cp error
Fixed the problem that the "'cp %s %s' % (source, target), cur_dir" command is still executed when there is no ACPI_VM.bin file after build. Tracked-On: projectacrn#7366 Signed-off-by: Ziheng Li <ziheng.li@intel.com>
This commit is contained in:
parent
e748842da0
commit
21d5a2f8ee
@ -116,6 +116,7 @@ def create_acrn_deb(board, scenario, version, build_dir):
|
|||||||
continue
|
continue
|
||||||
source = cur_dir + source
|
source = cur_dir + source
|
||||||
target = deb_dir + target
|
target = deb_dir + target
|
||||||
|
if os.path.exists(source):
|
||||||
if os.path.exists(target):
|
if os.path.exists(target):
|
||||||
run_command('cp %s %s' % (source, target), cur_dir)
|
run_command('cp %s %s' % (source, target), cur_dir)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user