#run depmod on all current kernel trees
for i in `ls ${INSTALL_ROOT}/lib/modules/`; do
  message "${MESSAGE_COLOR}Rebuilding module dependencies for $i...${DEFAULT_COLOR}"
  $INSTALL_ROOT/sbin/depmod -ae $i -b /$INSTALL_ROOT
done 2> /dev/null
