Hide Forgot
Some of the postinstall and postuninstall script hooks in kernel RPMs (like depmod) can take a long time, leading one (or at least leading me) to wonder "what's taking so long". These scripts should echo out something like "doing depmod, this might take a while..."
How long do you see this taking? On a relatively slow machine with a spinning rust drive and a kernel with full debugging enabled, it takes 20 seconds. On an x1 with an SSD, it takes 5s. While I understand your reasoning, output to the terminal or console from an RPM scriptlet has always been discouraged. It breaks the output of yum/dnf and typically we get a bug filed to remove it or redirect it to /dev/null if it exists.