commit: c8e196e32f9138f1b57317395392eadc63b4dbf8
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 5 00:18:07 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 00:18:07 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e196e3
fcaps.eclass: support ENOTSUP in addition to EOPNOTSUPP #559608
eclass/fcaps.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
index 046043c..b203a91 100644
--- a/eclass/fcaps.eclass
+++ b/eclass/fcaps.eclass
@@ -162,6 +162,9 @@ fcaps() {
: $(( ++notfound ))
continue
;;
+ # ENOTSUP and EOPNOTSUPP might be the
same value which means
+ # strerror() on them is unstable -- we
can get both. #559608
+ *"Not supported"*|\
*"Operation not supported"*)
local fstype=$(stat -f -c %T
"${file}")
ewarn "Could not set caps on
'${file}' due to missing filesystem support:"