From 8897fcc4a08b33291c159db18eeb31da4bf80a7e Mon Sep 17 00:00:00 2001 From: Manu Schiller <56154253+manuschillerdev@users.noreply.github.com> Date: Wed, 14 Jan 2026 04:39:08 +0100 Subject: [PATCH] fix: use pax instead of tar for pkg payload extraction (#1038) - It is common to have `gnu-tar` alongside other GNU tools installed and aliased for compatibility reasons. However, this breaks the current make build. - Use BSD-only binaries (no GNU equivalents that are commonly aliased), making the Makefile more portable. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff96d854..038e428f 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ install: installer-pkg @if [ -z "$(SUDO)" ] ; then \ temp_dir=$$(mktemp -d) ; \ xar -xf $(PKG_PATH) -C $${temp_dir} ; \ - (cd $${temp_dir} && tar -xf Payload -C "$(DEST_DIR)") ; \ + (cd "$(DEST_DIR)" && pax -rz -f $${temp_dir}/Payload) ; \ rm -rf $${temp_dir} ; \ else \ $(SUDO) installer -pkg $(PKG_PATH) -target / ; \