mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
Externalise makebuildserver config variables
This commit is contained in:
parent
8a236ea1c8
commit
ceb4b20ede
3 changed files with 18 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
config.py
|
config.py
|
||||||
|
makebs.config.py
|
||||||
*~
|
*~
|
||||||
*.pyc
|
*.pyc
|
||||||
buildserver.box
|
buildserver.box
|
||||||
|
|
16
makebs.config.sample.py
Normal file
16
makebs.config.sample.py
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# You will need to alter these before running makebuildserver.py
|
||||||
|
|
||||||
|
# Name of the base box to use...
|
||||||
|
basebox = "raring32"
|
||||||
|
|
||||||
|
# Location where raring32.box can be found, if you don't already have
|
||||||
|
# it. Could be set to https://f-droid.org/raring32.box if you like...
|
||||||
|
baseboxurl = "/shares/software/OS and Boot/raring32.box"
|
||||||
|
|
||||||
|
memory = 3584
|
||||||
|
|
||||||
|
# Debian package proxy server - set this to None unless you have one...
|
||||||
|
aptproxy = "http://192.168.0.19:8000"
|
||||||
|
|
||||||
|
# Set to True if your base box is 64 bit...
|
||||||
|
arch64 = False
|
|
@ -5,23 +5,7 @@ import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
execfile('makebs.config.py', globals())
|
||||||
# Settings, which need to be moved elsewhere ultimately. You will need
|
|
||||||
# to alter these before running.
|
|
||||||
|
|
||||||
# Name of the base box to use...
|
|
||||||
basebox = "raring32"
|
|
||||||
# Location where raring32.box can be found, if you don't already have
|
|
||||||
# it. Could be set to https://f-droid.org/raring32.box if you like...
|
|
||||||
baseboxurl = "/shares/software/OS and Boot/raring32.box"
|
|
||||||
memory = 3584
|
|
||||||
# Debian package proxy server - set this to None unless you have one...
|
|
||||||
aptproxy = "http://192.168.0.19:8000"
|
|
||||||
# Set to True if your base box is 64 bit...
|
|
||||||
arch64 = False
|
|
||||||
|
|
||||||
# End of settings.
|
|
||||||
|
|
||||||
|
|
||||||
def vagrant(params, cwd=None, printout=False):
|
def vagrant(params, cwd=None, printout=False):
|
||||||
"""Run vagrant.
|
"""Run vagrant.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue