diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-10 11:40:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-10 11:42:00 +0000 |
commit | fe10831952185e8588ebc7e5518b2b6a2016afb6 (patch) | |
tree | d7e1fd546594a09a6812ea23d68e8b1c0b4bce86 /main/tar/ignore-apk-tools-checksums.patch | |
parent | f00e82a95677cff20f87081de25cdce10a9e21ee (diff) | |
download | aports-fe10831952185e8588ebc7e5518b2b6a2016afb6.tar.bz2 aports-fe10831952185e8588ebc7e5518b2b6a2016afb6.tar.xz |
main/tar: ignore apk-tools extended attributes
Diffstat (limited to 'main/tar/ignore-apk-tools-checksums.patch')
-rw-r--r-- | main/tar/ignore-apk-tools-checksums.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/tar/ignore-apk-tools-checksums.patch b/main/tar/ignore-apk-tools-checksums.patch new file mode 100644 index 0000000000..c0a6ea3588 --- /dev/null +++ b/main/tar/ignore-apk-tools-checksums.patch @@ -0,0 +1,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 } + }; |