aboutsummaryrefslogtreecommitdiffstats
path: root/main/tar/ignore-apk-tools-checksums.patch
blob: c0a6ea358820cb1198e800a0bc049a84edf4c028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Make GNU tar ignore the apk-tools header fields

This should problably not be upstreamed

--- ./src/xheader.c.orig
+++ ./src/xheader.c
@@ -1779,7 +1779,10 @@
   /* We are storing all extended attributes using this rule even if some of them
      were stored by some previous rule (duplicates) -- we just have to make sure
      they are restored *only once* during extraction later on. */
-  { "SCHILY.xattr", xattr_coder, xattr_decoder, 0, true },
+  { "SCHILY.xattr", xattr_coder,  xattr_decoder, 0, true },
+
+  /* Ignore apk-tools headers */
+  { "APK-TOOLS.", dummy_coder, dummy_decoder, 0, true },
 
   { NULL, NULL, NULL, 0, false }
 };