From fa7f8a7769a4acf4368c9d59b852065a9596a079 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 17 Jul 2018 15:53:12 -0400 Subject: contrib: Clone core repo in gitian-build --- contrib/gitian-build.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 contrib/gitian-build.py (limited to 'contrib') diff --git a/contrib/gitian-build.py b/contrib/gitian-build.py old mode 100644 new mode 100755 index f6ecb52d8a..1da9e43896 --- a/contrib/gitian-build.py +++ b/contrib/gitian-build.py @@ -7,7 +7,7 @@ import sys def setup(): global args, workdir - programs = ['ruby', 'git', 'apt-cacher-ng'] + programs = ['ruby', 'git', 'apt-cacher-ng', 'make', 'wget'] if args.kvm: programs += ['python-vm-builder', 'qemu-kvm', 'qemu-utils'] elif args.docker: @@ -21,6 +21,8 @@ def setup(): subprocess.check_call(['git', 'clone', 'https://github.com/bitcoin-core/bitcoin-detached-sigs.git']) if not os.path.isdir('gitian-builder'): subprocess.check_call(['git', 'clone', 'https://github.com/devrandom/gitian-builder.git']) + if not os.path.isdir('bitcoin'): + subprocess.check_call(['git', 'clone', 'https://github.com/bitcoin/bitcoin.git']) os.chdir('gitian-builder') make_image_prog = ['bin/make-base-vm', '--suite', 'bionic', '--arch', 'amd64'] if args.docker: @@ -70,7 +72,7 @@ def build(): subprocess.check_call(['git', 'add', args.version+'-linux/'+args.signer]) subprocess.check_call(['git', 'add', args.version+'-win-unsigned/'+args.signer]) subprocess.check_call(['git', 'add', args.version+'-osx-unsigned/'+args.signer]) - subprocess.check_call(['git', 'commit', '-a', '-m', 'Add '+args.version+' unsigned sigs for '+args.signer]) + subprocess.check_call(['git', 'commit', '-m', 'Add '+args.version+' unsigned sigs for '+args.signer]) os.chdir(workdir) def sign(): -- cgit v1.2.3