diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-05-23 19:30:41 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-05-23 19:30:41 -0400 |
commit | a5b324d9c2bb05b86f25466b2e2b1d35e29682f9 (patch) | |
tree | 56baa1ab082e1d2737fae606f39d75bd6da08f64 /drain | |
parent | bf13e65d3965fdbfe23afc7a911997bb6bb67245 (diff) |
drain: Don't try to extract file flags
bsdtar's --fflags is implied by -p, but this doesn't work on btrfs. I
should look in to also adding --no-acls and --no-xattrs, which I believe
would bring it in to accord with libalpm. The only way to set certain
libarchive flags in bsdtar is to say -p, and then turn off the ones you
don't want; it makes it hard to reason about setting the flags the same as
libalpm does.
Anyway, this gets it working on btrfs.
Diffstat (limited to 'drain')
-rwxr-xr-x | drain | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ commit() ( read file dirs_str <<<"$filespec" read -a dirs <<<"$dirs_str" printf " -> %s\n" "$file" - bsdtar xpvf "$file" "${dirs[@]#/}" + bsdtar -xpvf "$file" --no-fflags "${dirs[@]#/}" done ln -srT ../etc.git etc/.git |