audk/BaseTools/Source
Bob Feng 03e77558d4 BaseTools: use shutil.copyfile instead shutil.copy2
In Split tool, the copy file actions only need to
copy file content but not need to copy file metadata.

copy2() copies the file metadata that causes split
unit test failed under edk2-basetools CI environment.

So this patch changes the call of copy2() to copyfile().

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Yuwei Chen <yuwei.chen@intel.com>
2021-08-02 03:52:15 +00:00
..
C BaseTools GenFw: Add support for R_RISCV_PCREL_LO12_S relocation 2021-07-21 02:12:29 +00:00
Python BaseTools: use shutil.copyfile instead shutil.copy2 2021-08-02 03:52:15 +00:00