Skip to content

Commit 90cf87d

Browse files
committed
build: Install bin-archive in target/
To avoid polluting the toplevel. Signed-off-by: Colin Walters <[email protected]>
1 parent da3a533 commit 90cf87d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ install:
1010
install -D -t $(DESTDIR)$(prefix)/bin target/release/bootc
1111

1212
bin-archive: all
13-
$(MAKE) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf bootc.tar.zst . && rm tmp-install -rf
13+
$(MAKE) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf target/bootc.tar.zst . && rm tmp-install -rf
1414

1515
test-bin-archive: all-test
16-
$(MAKE) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf bootc.tar.zst . && rm tmp-install -rf
16+
$(MAKE) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf target/bootc.tar.zst . && rm tmp-install -rf
1717

1818
install-kola-tests:
1919
install -D -t $(DESTDIR)$(prefix)/lib/coreos-assembler/tests/kola/bootc tests/kolainst/*

ci/Dockerfile.fcos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ COPY . .
66
RUN make test-bin-archive
77

88
FROM quay.io/fedora/fedora-coreos:testing-devel
9-
COPY --from=builder /src/bootc.tar.zst /tmp
9+
COPY --from=builder /src/target/bootc.tar.zst /tmp
1010
RUN tar -xvf /tmp/bootc.tar.zst && ostree container commit

0 commit comments

Comments
 (0)