Red Hat Bugzilla – Bug 63320
RFE: have /sbin/installkernel check for modules
Last modified: 2007-03-26 23:52:46 EDT
It would be nice for /sbin/installkernel check to see that the corresponding
modules have been installed before doing anything, since new-kernel-pkg is
called with --mkinitrd and --depmod (which won't work if the modules aren't
if [ ! -e /lib/modules/$KERNEL_VERSION ]; then
echo "Run 'make modules_install' before 'make install'" 1>&2
near the top before any action is taken would do it.
I do this in the wrong order sometimes, and a simple check would help.
what if you build a completely monolithic kernel?