Skip to content

rpmspec: fix verbose output on kernel-devel installation

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1981406

The current hardlink implementation that is available on latest
util-linux versions (at least >= 2.37) is verbose by default. Thus
lots of output is printed when hardlink runs at the kernel-devel
install with newer hardlink versions. Avoid that by redirecting
the output to /dev/null. I also could use the -q option, but that
may not be available with hardlink versions eg. on older stable Fedora
versions where current kernels might still be built for them, so the
redirection seems the safest approach.

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>

Merge request reports