1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-12 16:56:15 +01:00

- make file system configurable

This commit is contained in:
Bruno Friedmann 2012-02-04 17:02:18 +01:00 committed by Adrian Schröter
parent 1ab773344b
commit 475867cc64
2 changed files with 8 additions and 0 deletions

View File

@ -842,6 +842,9 @@ def main(apiurl, opts, argv):
vm_options += [ '--vmdisk-rootsize=' + config['build-vmdisk-rootsize'] ]
if config['build-vmdisk-swapsize']:
vm_options += [ '--vmdisk-swapsize=' + config['build-vmdisk-swapsize'] ]
if config['build-vmdisk-filesystem']:
vm_options += [ '--vmdisk-filesystem=' + config['build-vmdisk-filesystem'] ]
if opts.preload:
print "Preload done for selected repo/arch."

View File

@ -97,6 +97,7 @@ DEFAULTS = {'apiurl': 'https://api.opensuse.org',
'build-swap': '', # optional for VM builds
'build-vmdisk-rootsize': '', # optional for VM builds
'build-vmdisk-swapsize': '', # optional for VM builds
'build-vmdisk-filesystem': '', # optional for VM builds
'build-jobs': _get_processors(),
'builtin_signature_check': '1', # by default use builtin check for verify pkgs
@ -217,6 +218,10 @@ apiurl = %(apiurl)s
# values in MB - e.g. 1024
#build-vmdisk-swapsize = 1024
# build-vmdisk-filesystem is the file system type of the disk-image used in a VM build
# values are ext3(default) ext4 xfs reiserfs btrfs
#build-vmdisk-filesystem = ext4
# Numeric uid:gid to assign to the "abuild" user in the build-root
# or "caller" to use the current users uid:gid
# This is convenient when sharing the buildroot with ordinary userids