[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error mesg when using make-kpkg



On Sat, Jan 15, 2000 at 11:45:16AM -0500, Rajesh Radhakrishnan wrote:
> Hi,
> 
> I am creating the a custom 2.2.14 kernel using kernel-package. I gave
> the following command,
> 
> make-kpkg -rev Custom.1 kernel_image
> 
> It went thru the kernel compilation process (after configure), and at
> finally it gave me the foll error 
> 
> ....
> test -f System.map &&  cp System.map \
>                         debian/tmp-image/boot/System.map-2.2.14
> test -f System.map &&  chmod 644 \
>                         debian/tmp-image/boot/System.map-2.2.14
> dpkg-gencontrol -DArchitecture=i386 -isp \
>                         -pkernel-image-2.2.14 -Pdebian/tmp-image/
> chown -R root.root debian/tmp-image
> chmod -R og=rX debian/tmp-image
> dpkg --build debian/tmp-image ..
> dpkg-deb - error: (upstream) version (`linux') doesn't contain any digits
> dpkg-deb: 1 errors in control file
> make: *** [kernel-image-deb] Error 2

Don't know if this is the problem, but when you unpacked the kernel, did
you rename the top directory from linux to linux-2.2.14?  It shouldn't
matter (as I think the version number is found elsewhere).  Also, did
you follow the `make menuconfig ; make-kpkg clean ; make-kpkg
--revision=2:custom.1.0 kernel_image' order. That make-kpkg clean is
important.

-- 
+----------------------------------------------------+
| Eric G. Miller                        egm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
+----------------------------------------------------+


Reply to: