aports/main/abuild/tar-arguments.patch

28 lines
737 B
Diff

From b274749838dc123bef42564a3578ec05a77e5e50 Mon Sep 17 00:00:00 2001
From: Sertonix <sertonix@posteo.net>
Date: Thu, 24 Oct 2024 16:25:15 +0200
Subject: [PATCH] abuild: fix --xattrs and --{owner,group}-map not passed to
tar
Fixes <45a8c0dd79c> abuild: deduplicate reproducible tarball creation
---
abuild.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/abuild.in b/abuild.in
index b834e73..2b87976 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1786,7 +1786,7 @@ apk_tar() {
tar --format=posix \
--pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0 \
--mtime="@$SOURCE_DATE_EPOCH" \
- --no-recursion --null -T - -f - -c
+ --no-recursion --null -T - -f - -c "$@"
}
create_apks() {
--
2.46.2