1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

makebuildserver: remove reference to f-droid.org/jessie64.box

Also improve error message when the initial vagrant up fails, this is
most likely due to the missing jessie64.box file.
This commit is contained in:
Marcus Hoffmann 2017-10-20 04:38:39 +02:00
parent 3407c67041
commit 7859244ce7

View File

@ -58,8 +58,7 @@ logger.debug('cachedir set to: %s', cachedir)
config = { config = {
'basebox': 'jessie64', 'basebox': 'jessie64',
'baseboxurl': [ 'baseboxurl': [
pathlib.Path(os.path.join(cachedir, 'jessie64.box')).as_uri(), pathlib.Path(os.path.join(cachedir, 'jessie64.box')).as_uri()
'https://f-droid.org/jessie64.box',
], ],
'debian_mirror': 'http://http.debian.net/debian/', 'debian_mirror': 'http://http.debian.net/debian/',
'apt_package_cache': False, 'apt_package_cache': False,
@ -525,9 +524,9 @@ def main():
debug_log_vagrant_vm(serverdir, config) debug_log_vagrant_vm(serverdir, config)
try: try:
v.up(provision=True) v.up(provision=True)
except fdroidserver.vmtools.FDroidBuildVmException as e: except subprocess.CalledProcessError:
debug_log_vagrant_vm(serverdir, config) debug_log_vagrant_vm(serverdir, config)
logger.exception('could not bring buildserver vm up. %s', e) logger.error("'vagrant up' failed, is the base box missing?")
sys.exit(1) sys.exit(1)
if config['copy_caches_from_host']: if config['copy_caches_from_host']: