commit: 8e652d5963af48b187620ca32b1798bbffca52a9 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Mon Feb 19 20:34:11 2024 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Mon Feb 19 21:00:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e652d59
sys-fs/mdadm: QA fix missing udev_reload Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> Closes: https://bugs.gentoo.org/851894 sys-fs/mdadm/mdadm-4.2-r3.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys-fs/mdadm/mdadm-4.2-r3.ebuild b/sys-fs/mdadm/mdadm-4.2-r3.ebuild index 0b2549330957..176f5e80c06c 100644 --- a/sys-fs/mdadm/mdadm-4.2-r3.ebuild +++ b/sys-fs/mdadm/mdadm-4.2-r3.ebuild @@ -93,6 +93,7 @@ src_install() { } pkg_postinst() { + udev_reload if ! systemd_is_booted; then if [[ -z ${REPLACING_VERSIONS} ]] ; then # Only inform people the first time they install. @@ -102,3 +103,7 @@ pkg_postinst() { fi fi } + +pkg_postrm() { + udev_reload +}