From: Mike Frysinger Date: Sat, 5 Sep 2015 00:18:07 +0000 (-0400) Subject: fcaps.eclass: support ENOTSUP in addition to EOPNOTSUPP #559608 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8e196e32f9138f1b57317395392eadc63b4dbf8;p=gentoo.git fcaps.eclass: support ENOTSUP in addition to EOPNOTSUPP #559608 --- 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:"