Move kernel check to the Debian package directory.

Refs #6012
Add missing dependencies for the Debian package.

Refs #6012