Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-09-16 14:46:48 +03:00
parent 6a8cafe233
commit 01538a5216

View File

@@ -79,8 +79,11 @@
# 3) tar the payload OUTSIDE $PAY to avoid self-inclusion
_TMP="$(mktemp -d)"
( cd "$PAY" && tar \
--owner=0 --group=0 \
--mode=u+rw,uga+r \
--hard-dereference \
--format=gnu \
--sort=name \
--owner=0 --group=0 --numeric-owner \
-czf "$_TMP/payload.tar.gz" . )
# 4) write the self-extracting stub