Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit ae561c7

Browse files
committed
Move cleanup of old artifacts to generic build.make
1 parent abc8b9f commit ae561c7

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

extensions/build.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ artifact := $(HOME)/artifacts/$(package)-tc$(TC_VERSION)
1010
.PHONY: deps tcz perms clean
1111

1212
deps:
13+
sudo rm -rf $(artifact)
1314
tce-load -wicl $(compile_deps)
1415

1516
perms:

extensions/cloud-init-deps/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ compile_deps := python3.6 squashfs-tools curl libffi
1010
all: deps setup build tcz
1111

1212
setup:
13-
rm -rf $(artifact)
1413
curl -L -o $(package_name) https://github.com/canonical/cloud-init/archive/$(VERSION).tar.gz
1514
tar -xzf $(package_name)
1615

extensions/cloud-init/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ compile_deps := python3.6 squashfs-tools curl libffi
1010
all: deps setup build tcz
1111

1212
setup:
13-
rm -rf $(artifact)
1413
curl -L -o $(package_name) https://github.com/canonical/cloud-init/archive/$(VERSION).tar.gz
1514
tar -xzf $(package_name)
1615

extensions/ifupdown/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ compile_deps := perl5 squashfs-tools curl
1010
all: deps setup build tcz
1111

1212
setup:
13-
sudo rm -rf $(artifact)
1413
sudo ln -sf /usr/local/bin/perl /usr/bin/perl
1514
sudo cp -a dpkg-architecture /usr/local/bin
1615
curl -L -o $(package_name) https://deb.debian.org/debian/pool/main/i/ifupdown/$(package_name)

0 commit comments

Comments
 (0)