aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2021-02-10 19:36:42 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2021-02-10 19:37:06 +0100
commitdeb185d2fdcd1327d40791ebf6621aed0ebd443d (patch)
tree2e7ab4bc862cb842ef074785e655c0fb2d30801c
parent3c514cfe628d4becbaa40a88d21e7ec33582c194 (diff)
parent166266a372fed2b1f73053084a923fab7edc77f4 (diff)
Merge #21130: script: Make LXC container size suitable for gitian builds
166266a372fed2b1f73053084a923fab7edc77f4 script: Make LXC container size suitable for gitian builds (Hennadii Stepanov) Pull request description: This change prevents "No space left on device" error. See: - https://github.com/bitcoin/bitcoin/pull/21036#issuecomment-774771873 - https://github.com/bitcoin/bitcoin/pull/21036#issuecomment-775031315 ACKs for top commit: jonasschnelli: ACK 166266a372fed2b1f73053084a923fab7edc77f4 - I had to add this manually to my nighly build base image Tree-SHA512: 47d84c3a65f0a17013b2cb970c34bfa4e600e83066be302ff10280aefefa0a7c6cb6c21a191b3e8e6fcd1c292d1c434cc4769e04626c4536050aced29b34d573
-rwxr-xr-xcontrib/gitian-build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitian-build.py b/contrib/gitian-build.py
index 0facf07948..60acb0d593 100755
--- a/contrib/gitian-build.py
+++ b/contrib/gitian-build.py
@@ -39,7 +39,7 @@ def setup():
if args.docker:
make_image_prog += ['--docker']
elif not args.kvm:
- make_image_prog += ['--lxc']
+ make_image_prog += ['--lxc', '--disksize', '13000']
subprocess.check_call(make_image_prog)
os.chdir(workdir)
if args.is_focal and not args.kvm and not args.docker: