summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-04 20:18:07 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-04 20:18:07 -0400
commitc8e196e32f9138f1b57317395392eadc63b4dbf8 (patch)
treed5b678c2575a7350d5ea9b436979a4a7c4188ac5 /eclass/fcaps.eclass
parentapp-emulation/vmware-workstation: Version bump (diff)
downloadgentoo-c8e196e32f9138f1b57317395392eadc63b4dbf8.tar.gz
gentoo-c8e196e32f9138f1b57317395392eadc63b4dbf8.tar.bz2
gentoo-c8e196e32f9138f1b57317395392eadc63b4dbf8.zip
fcaps.eclass: support ENOTSUP in addition to EOPNOTSUPP #559608
Diffstat (limited to 'eclass/fcaps.eclass')
-rw-r--r--eclass/fcaps.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass
index 046043c031e7..b203a913ffb3 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:"