Skip to content

Commit

Permalink
Makefile: use XZ_OPT=-0 for make vm
Browse files Browse the repository at this point in the history
...and targets which depend on it, like `make check`.

This shaves some seconds off of image building.
  • Loading branch information
allisonkarlitskaya authored and jelly committed Jun 4, 2024
1 parent 3a78209 commit d3758c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit d3758c3

Please sign in to comment.