On Sat, Jun 30, 2001 at 03:07:26PM +0200, Joerg Johannes wrote: > I am trying to build a kernel for athlon on my pentium machine. It must > be 2.4.3 (as I am using at the moment) because I have xfs running on /, > /home, and /var. I want to install both kernels for being able to switch > all my hardware back to the pentium machine if something doesn't work. I > tried to compile the athlon kernel with "--append-to-version athlon" and > I get the eroor message > > "dpkg-gencontrol: error: package kernel-image-2.4.3-xfsathlon not in > control info > make: *** [kernel-image-deb] Error 29"
You did not run "make-kpkg clean" since you last ran "make-kpkg" to build a different kernel-image deb, would be my guess before thinking about it too deeply, because it's the most common problem with kernel-package. The complaint from dpkg-gencontrol seems to point to this as well. > Running without --append-to-version gives me a kernel-image.deb which is > named exactly as the installed kernel. This is not good, because > installing it may overwrite the existing kernel and stealing me the > ability to fix anything in case of misconfiguration. > Any idea how to produce a kernel with a different name? This is the right way, just make-kpkg clean, so it updates the control info for the deb with the info for your new build. Cheers, Joost