mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-14 23:18:59 +00:00
Copy over ovmf files from old BE
This commit is contained in:
@@ -478,6 +478,13 @@ def main():
|
||||
if log.startswith(("failover.log", "fenced.log", "middlewared.log")):
|
||||
rsync.append(f"var/log/{log}")
|
||||
|
||||
for ovmf_file in (
|
||||
"OVMF_CODE.fd", "OVMF_VARS.fd", "OVMF_CODE.secboot.fd", "OVMF_CODE.ms.fd", "OVMF_VARS.ms.fd",
|
||||
):
|
||||
ovmf_path = f"{old_root}/usr/share/OVMF/{ovmf_file}"
|
||||
if os.path.exists(ovmf_path):
|
||||
rsync.append(ovmf_path)
|
||||
|
||||
run_command([
|
||||
"rsync", "-aRx",
|
||||
] + sum([
|
||||
|
||||
Reference in New Issue
Block a user