1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Better makebuildserver verbose output

(and always delete box file, its always there, despite my earlier commit
saying it wasn't)
This commit is contained in:
Ciaran Gultnieks 2014-01-09 21:31:58 +00:00
parent cd23bb933c
commit b67e012dd5

View File

@ -197,12 +197,11 @@ while not ready:
print "Status: " + line
print "Packaging"
vagrant(['package', '--output', os.path.join('..', boxfile)], serverdir)
vagrant(['package', '--output', os.path.join('..', boxfile)], serverdir,
printout=options.verbose)
print "Adding box"
vagrant(['box', 'add', 'buildserver', boxfile, '-f'])
vagrant(['box', 'add', 'buildserver', boxfile, '-f'],
printout=options.verbose)
# Remove box file if it exists (older vagrant versions left it there, newer
# ones seem to delete it
if os.path.exists(boxfile):
os.remove(boxfile)
os.remove(boxfile)