From c8e196e32f9138f1b57317395392eadc63b4dbf8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 4 Sep 2015 20:18:07 -0400 Subject: [PATCH] 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 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:" -- 2.26.2