Brian Behlendorf 5b51c15861
kmodtool: depmod path
Determine the location of depmod on the system, either /sbin/depmod or
/usr/sbin/depmod.  Then use that path when generating the specfile.

Additionally, update the Requires lines to reference the package which
provides depmod rather than the binary itself.  For CentOS/RHEL 7+8
and all supported Fedora releases this is the kmod package, and for
CentOS/RHEL 6 it is the module-init-tools package.

Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8724
Closes #9310
2019-09-11 11:14:50 -07:00
..
2012-08-27 11:47:44 -07:00
2019-09-11 11:14:50 -07:00
2019-06-24 09:32:47 -07:00
2019-05-08 10:59:32 -07:00
2017-08-09 15:31:08 -07:00
2018-05-01 10:33:35 -07:00
2019-02-04 09:07:19 -08:00
2018-01-25 13:42:34 -08:00