From 17e1e9beabb617a0b751c19a7b4ab8b8f58c0ff1 Mon Sep 17 00:00:00 2001 From: Allison Karlitskaya Date: Tue, 4 Jun 2024 16:20:36 +0200 Subject: [PATCH] Makefile: use `XZ_OPT=-0` for `make vm` ...and targets which depend on it, like `make check`. This shaves some seconds off of image building. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 986a0b3..7edda0d 100644 --- a/Makefile +++ b/Makefile @@ -157,6 +157,7 @@ rpm: $(TARFILE) $(NODE_CACHE) $(SPEC) # build a VM with locally built distro pkgs installed # disable networking, VM images have mock/pbuilder with the common build dependencies pre-installed +$(VM_IMAGE): export XZ_OPT=-0 $(VM_IMAGE): $(TARFILE) $(NODE_CACHE) bots test/vm.install bots/image-customize --no-network --fresh \ --upload $(NODE_CACHE):/var/tmp/ --build $(TARFILE) \