mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Fix conditional checking for nvram directory existence in old BE
This commit is contained in:
@@ -504,7 +504,7 @@ def main():
|
||||
"etc/machine-id",
|
||||
"home"
|
||||
])
|
||||
if os.path.exists('/var/lib/libvirt/qemu/nvram'):
|
||||
if os.path.exists(f'{old_root}/var/lib/libvirt/qemu/nvram'):
|
||||
rsync.append('var/lib/libvirt/qemu/nvram')
|
||||
|
||||
run_command([
|
||||
|
||||
Reference in New Issue
Block a user