Skip to content

Commit 509a2c3

Browse files
committed
build-sys: Drop some dead code
- The ci/Dockerfile.fcos has been unused for some time and testing with FCOS derivatives is already done outside of CI here - Drop the bits which reference git in the Makefile, a new rule I'm trying to impose here is that nothing in the build system should rely on git (or at least not rely on being built from a git repository) Signed-off-by: Colin Walters <walters@verbum.org>
1 parent 3f783a7 commit 509a2c3

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525

2626
prefix ?= /usr
2727

28-
SOURCE_DATE_EPOCH ?= $(shell git log -1 --pretty=%ct)
29-
# https://reproducible-builds.org/docs/archives/
30-
TAR_REPRODUCIBLE = tar --mtime="@${SOURCE_DATE_EPOCH}" --sort=name --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime
31-
3228
# Enable rhsm if we detect the build environment is RHEL-like.
3329
# We may in the future also want to include Fedora+derivatives as
3430
# the code is really tiny.
@@ -94,9 +90,6 @@ install-initramfs-dracut: install-initramfs
9490
install-all: install install-ostree-hooks
9591
install -D -m 0755 target/release/tests-integration $(DESTDIR)$(prefix)/bin/bootc-integration-tests
9692

97-
bin-archive: all
98-
$(MAKE) install DESTDIR=tmp-install && $(TAR_REPRODUCIBLE) --zstd -C tmp-install -cf target/bootc.tar.zst . && rm tmp-install -rf
99-
10093
build-unit-tests:
10194
cargo t --no-run
10295

ci/Dockerfile.fcos

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)