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:
@@ -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 ]
|
||||
|
Reference in New Issue
Block a user