7
7
8
8
def setup ():
9
9
global args , workdir
10
- programs = ['ruby' , 'git' , 'apt-cacher-ng' ]
10
+ programs = ['ruby' , 'git' , 'apt-cacher-ng' , 'make' , 'wget' ]
11
11
if args .kvm :
12
12
programs += ['python-vm-builder' , 'qemu-kvm' , 'qemu-utils' ]
13
13
elif args .docker :
@@ -21,6 +21,8 @@ def setup():
21
21
subprocess .check_call (['git' , 'clone' , 'https://github.com/bitcoin-core/bitcoin-detached-sigs.git' ])
22
22
if not os .path .isdir ('gitian-builder' ):
23
23
subprocess .check_call (['git' , 'clone' , 'https://github.com/devrandom/gitian-builder.git' ])
24
+ if not os .path .isdir ('bitcoin' ):
25
+ subprocess .check_call (['git' , 'clone' , 'https://github.com/bitcoin/bitcoin.git' ])
24
26
os .chdir ('gitian-builder' )
25
27
make_image_prog = ['bin/make-base-vm' , '--suite' , 'bionic' , '--arch' , 'amd64' ]
26
28
if args .docker :
@@ -70,7 +72,7 @@ def build():
70
72
subprocess .check_call (['git' , 'add' , args .version + '-linux/' + args .signer ])
71
73
subprocess .check_call (['git' , 'add' , args .version + '-win-unsigned/' + args .signer ])
72
74
subprocess .check_call (['git' , 'add' , args .version + '-osx-unsigned/' + args .signer ])
73
- subprocess .check_call (['git' , 'commit' , '-a' , '- m' , 'Add ' + args .version + ' unsigned sigs for ' + args .signer ])
75
+ subprocess .check_call (['git' , 'commit' , '-m' , 'Add ' + args .version + ' unsigned sigs for ' + args .signer ])
74
76
os .chdir (workdir )
75
77
76
78
def sign ():
0 commit comments