projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9189a2
)
fcaps.eclass: support ENOTSUP in addition to EOPNOTSUPP #559608
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 5 Sep 2015 00:18:07 +0000
(20:18 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 5 Sep 2015 00:18:07 +0000
(20:18 -0400)
eclass/fcaps.eclass
patch
|
blob
|
history
diff --git
a/eclass/fcaps.eclass
b/eclass/fcaps.eclass
index 046043c031e75f8e1650f2af7190546b8db58cff..b203a913ffb3268b50f3a404fdb3f99ae129f0e2 100644
(file)
--- 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:"