From cb2b30970d1b62d9aa49ba77fee1bb56b6179e44 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Thu, 26 May 2022 14:08:18 +0100 Subject: [PATCH] snap: Build using destructive mode Destructive mode is required to build the Kata Containers snap. See: ``` .github/workflows/snap-release.yaml .github/workflows/snap.yaml ``` Hence, update the last file that we forgot to update with `--destructive-mode`. Signed-off-by: James O. D. Hunt --- tools/packaging/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/Makefile b/tools/packaging/Makefile index a2668ff765..f8444e8f16 100644 --- a/tools/packaging/Makefile +++ b/tools/packaging/Makefile @@ -29,6 +29,6 @@ snap: $(YQ) @if [ "$$(cat $(VERSION_FILE))" != "$$($(YQ) r $(SNAPCRAFT_FILE) version)" ]; then \ >&2 echo "Warning: $(SNAPCRAFT_FILE) version is different to upstream $(VERSION_FILE) file"; \ fi - snapcraft -d + snapcraft -d --destructive-mode .PHONY: test-static-build snap