On Tue, Mar 09, 2004 at 05:57:53PM -0600, Croy, Nathan wrote: > SUMMARY: during make-kpkg, why do i get a make error with dummy_do_dep? > > FULL: > I'm trying to create a kernel package "The Debian Way". Following > directions from the Debian Reference Manual section 7.1.1 > http://www.debian.org/doc/manuals/reference/ch-kernel.en.html#s-kernel-debia > n > > I'm using stable and am trying to use make-kpkg, but I keep getting a > problem with the dummy_do_help target: > make[1]: *** No rule to make target `dummy_do_dep'. Stop.
What are you using for your sources? There are several ways to to start off. There's one setup, and I cannot recall how you wind up with it, but the source you have is not _the_ kernel-source you use to make a kernel-image, but it's the source to make all the kernel-packages, including kernel-source. I believe the way you get it is to download a file - not a deb but a bzipped or gzipped file with a name like, kernel-source-2.4.19-2.4.19-2.tar.bzip2 (or gzip). This is a patch to be applied to either a raw www.kernel.org source or kernel-source 2.x.x-original from Debian. If you have this, there _is_ a debian/rules there, but you can't use make-kpkg with it. You must use the command ./debian/rules <target> I can't recall the targets, and don't have any of these sources on hand. You can examine them in the rules file. But you have to build the kernel-source deb and install _it_ from this, and make-kpkg can be run against _this_ set of sources. Anyway, it sounds like you have this set of sources. The easiest way to build a kernel-image is to either download the kernel-source-2.x.x-original.tar.bz2 file OR the source from www.kernel.org. Then install kernel-patch-debian-2.your.version. When you compile the kernel, do: PATCH_THE_KERNEL="YES" fakeroot make-kpkg <blah> <blah>... One further note: With either of the two original sources, you don't _have_ to apply the patches to run make-kpkg. Make-kpkg will compile a completely stock kernel, if you so desire. AFAIK, the only difference between the debian *original* and the stock www.kernel.org sources is that the debian version has some files (non-free stuff IIUC) removed, but all else at that point is identical. > elvis:/usr/src/kernel-source-2.4.19# fakeroot make-kpkg --append_to_version > -test1 --initrd --revision=2004030.01 kernel_image modules_image If you're going to have to download anyway, I'd suggest going ahead and getting 2.4.25. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]