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.
This commit is contained in:
parent
3a7820998e
commit
17e1e9beab
1 changed files with 1 additions and 0 deletions
1
Makefile
1
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) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue