From e3054a158d9c6fad2e5641b7d5207a951287b576 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 1 Dec 2022 16:42:00 +0100 Subject: [PATCH] macos: pkg: Only add darwin/ to crc-macos-installer.tar Now that all the files needed for the macOS installer are in darwin/, we no longer need to pack the whole packaging/ dir as part of 'make crc-macos-installer.tar' --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f14df80e51..abe1b5eda2 100644 --- a/Makefile +++ b/Makefile @@ -334,7 +334,7 @@ $(BUILD_DIR)/macos-universal/crc-macos-installer.pkg: packagedir ./packaging/darwin/macos-pkg-build-and-sign.sh $(@D) $(BUILD_DIR)/macos-universal/crc-macos-installer.tar: packagedir - tar -cvf $@ ./packaging/darwin + tar -C ./packaging -cvf $@ darwin cd $(@D) && sha256sum $(@F)>$(@F).sha256sum %.spec: %.spec.in $(TOOLS_BINDIR)/gomod2rpmdeps