Skip to content

Commit f4e691c

Browse files
committed
build-sys: Also take over ostree hooks in our own CI builds
This helps ensure our CI is covering our copy of ostree-ext, not the one currently vendored in rpm-ostree. Signed-off-by: Colin Walters <[email protected]>
1 parent 55d958e commit f4e691c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ install-ostree-hooks:
3434
ln -sf ../../../bin/bootc $(DESTDIR)$(prefix)/libexec/libostree/ext/$$x; \
3535
done
3636

37-
install-with-tests: install
37+
# Install the main binary, the ostree hooks, and the integration test suite.
38+
install-all: install install-ostree-hooks
3839
install -D -m 0755 target/release/tests-integration $(DESTDIR)$(prefix)/bin/bootc-integration-tests
3940

4041
bin-archive: all
4142
$(MAKE) install DESTDIR=tmp-install && $(TAR_REPRODUCIBLE) --zstd -C tmp-install -cf target/bootc.tar.zst . && rm tmp-install -rf
4243

4344
test-bin-archive: all
44-
$(MAKE) install-with-tests DESTDIR=tmp-install && $(TAR_REPRODUCIBLE) --zstd -C tmp-install -cf target/bootc.tar.zst . && rm tmp-install -rf
45+
$(MAKE) install-all DESTDIR=tmp-install && $(TAR_REPRODUCIBLE) --zstd -C tmp-install -cf target/bootc.tar.zst . && rm tmp-install -rf
4546

4647
test-tmt:
4748
cargo xtask test-tmt

0 commit comments

Comments
 (0)