From 166266a372fed2b1f73053084a923fab7edc77f4 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 9 Feb 2021 18:56:45 +0200 Subject: [PATCH] script: Make LXC container size suitable for gitian builds This change prevents "No space left on device" error. --- contrib/gitian-build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gitian-build.py b/contrib/gitian-build.py index 0facf079481..60acb0d5933 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: