Cope with xattr syscalls raising EOPNOTSUPP
authorSimon McVittie <smcv@collabora.com>
Mon, 16 Oct 2017 11:51:04 +0000 (12:51 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 26 Oct 2017 23:19:45 +0000 (00:19 +0100)
commit4eac3b71aebdf74ad46a4d5b5eeb881b201ecca4
treeeb0e734d601f70bef5514b4f0a09f7ab657524d7
parent1a91bcf1fabd47514627a9970522d541fe8d7b94
Cope with xattr syscalls raising EOPNOTSUPP

ENOTSUP and EOPNOTSUPP are numerically equal on most Linux ports,
but inexplicably differ on PA-RISC (hppa) and possibly other
rare architectures.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1275
Approved by: cgwalters
Applied-upstream: 2017.13, commit:a4723dafed722008ed1ee3c952b7ff8e3d9b9a45

Gbp-Pq: Topic 2017.13
Gbp-Pq: Name Cope-with-xattr-syscalls-raising-EOPNOTSUPP.patch
src/ostree/ot-builtin-create-usb.c
tests/libostreetest.c