diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-04-09 08:47:56 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-04-09 08:47:56 +0300 |
commit | a6641817147c5fd379245cc080af8bec77315890 (patch) | |
tree | cbe7026b417b4feb7adab11af941b5476cc69645 /abuild.in | |
parent | 248e9bb408985a7591dd97f6c0eea1e1d936379a (diff) | |
download | abuild-a6641817147c5fd379245cc080af8bec77315890.tar.gz abuild-a6641817147c5fd379245cc080af8bec77315890.tar.bz2 abuild-a6641817147c5fd379245cc080af8bec77315890.tar.xz abuild-a6641817147c5fd379245cc080af8bec77315890.zip |
abuild: preserve all xattrs
by default getfattr omits system xattrs like security.capability
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1679,7 +1679,7 @@ stripbin() { scanelf --recursive --nobanner --etype "ET_DYN,ET_EXEC" . \ | sed -e 's:^ET_DYN ::' -e 's:^ET_EXEC ::' \ | while read filename; do - XATTR=$(getfattr -d "${filename}") + XATTR=$(getfattr --match="*" --dump "${filename}") ${CROSS_COMPILE}strip "${filename}" [ -n "$XATTR" ] && (echo "$XATTR" | setfattr --restore=-) done |