Manoj Srivastava writes [ SuperCite undone - iwj ]: > Brian C White <[EMAIL PROTECTED]> writes: > > So... Should there be a restriction against listing the > > kernel-image as a dependancy in another package? > > No, since if you follow the recommended method of generating > kernel images, this will work.
On the contrary, we should not require people to follow this method, especially when it's easy not to make this requirement. Packages which need a particular kernel or kernel feature to run correctly should test for the kernel version of feature in the postinst (or in the preinst, if the package being broken is a serious problem for the whole syste, for example for a base package). dpkg --compare-versions (implemented in dpkg recently) should work on kernel version numbers, provided that pre-2 does actually return 1.99 or whatever in uname. Ian.