1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +02:00

Pass disk/swap/logfile options to obs-build also for VM type emulator

This commit is contained in:
2015-04-17 11:10:54 +02:00
parent b7912a78dd
commit dc8ab2ee30

View File

@@ -993,7 +993,7 @@ def main(apiurl, opts, argv):
my_build_swap = build_root + '/swap'
vm_options = [ '--vm-type=%s' % vm_type ]
if vm_type != 'lxc' and vm_type != 'emulator':
if vm_type != 'lxc':
vm_options += [ '--vm-disk=' + my_build_device ]
vm_options += [ '--vm-swap=' + my_build_swap ]
vm_options += [ '--logfile=%s/.build.log' % build_root ]