Bug:
https://bugs.gentoo.org/847436
Signed-off-by: Mike Gilbert <
floppym@gentoo.org>
---
metadata/install-qa-check.d/60udev-eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/metadata/install-qa-check.d/60udev-eclass b/metadata/install-qa-check.d/60udev-eclass
index 4aadc9b1f18..24a4df38ec4 100644
--- a/metadata/install-qa-check.d/60udev-eclass
+++ b/metadata/install-qa-check.d/60udev-eclass
@@ -54,6 +54,11 @@ udev_rules_check() {
eqawarn "QA Notice: package is installing udev rules without calling"
eqawarn "udev_reload in pkg_postinst phase"
fi
+ local pkg_postrm_body="$(declare -fp pkg_postrm 2>&1)"
+ if [[ ! ${pkg_postrm_body} == *udev_reload* ]] ; then
+ eqawarn "QA Notice: package is installing udev rules without calling"
+ eqawarn "udev_reload in pkg_postrm phase"
+ fi
fi
}
--
2.35.1
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)