2005/01/28

Building kernel debian package

Finally, I have packaged a kernel debian package for MII.
The steps are quite difficult:
1. update initrd-tools (in order to support new SATA)
2. modify /usr/share/kernel-package/image.preinst, to mount /boot, remove old kernel
3. modify /usr/share/kernel-package/image.postint, to add software suspend parameters to grub configuration file, and run update-grub after that
4. build the kernel package using [make-kpkg --initrd binary]
5. install the kernel-image debian package