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

kernel-image-2.2.1 package cannot be created with make-kpkg



Hi all!

I am trying to create a kernel-image-2.2.1 package in order to install
the new kernel. I downloaded and installed kernel-source-2.2.1 and
kernel-doc-2.2.1 packages, read all the files
/usr/doc/kernel-source-2.2.1/* and /usr/doc/kernel-doc-2.2.1/* (except
Documentation directory: 919 Kb of compressed text files), and upgraded
the packages mentioned in
/usr/doc/kernel-doc-2.2.1/Documentation/Changes.gz

I mention that in order that I have read almost everything I should.

Well, then I "make menuconfig" (whilst continue reading for a whole day
individual files under Documentation), at the next day I "make-kpkg
clean" and then "make-kpkg --revision=custom.1.0 kernel_image", but
after one hour compiling, this appeared:

Installing modules under
/usr/src/kernel-source-2.2.1/debian/tmp-image/lib/modules/2.2.1/block
Installing modules under
/usr/src/kernel-source-2.2.1/debian/tmp-image/lib/modules/2.2.1/fs
Installing modules under
/usr/src/kernel-source-2.2.1/debian/tmp-image/lib/modules/2.2.1/fs
Installing modules under
/usr/src/kernel-source-2.2.1/debian/tmp-image/lib/modules/2.2.1/cdrom
Installing modules under
/usr/src/kernel-source-2.2.1/debian/tmp-image/lib/modules/2.2.1/misc
cp arch/i386/boot/bzImage debian/tmp-image/boot/vmlinuz-2.2.1
chmod 644 debian/tmp-image/boot/vmlinuz-2.2.1
test -f System.map &&  cp System.map \
                        debian/tmp-image/boot/System.map-2.2.1
test -f System.map &&  chmod 644 \
                        debian/tmp-image/boot/System.map-2.2.1
dpkg-gencontrol -pkernel-image-2.2.1-i586 -Pdebian/tmp-image/
parsechangelog/debian: error: unable to open substvars file
debian/substvars: No existe el fichero o el directorio (FILE OR
DIRECTORY DOESN'T EXIST)
dpkg-gencontrol: error: syntax error in parsed version of changelog at
line 0: empty file
make: *** [stamp-image] Error 29

What has happened? What can I do to fix it?

In /usr/doc/kernel-source-2.2.1/Buildinfo and
/usr/doc/kernel-doc-2.2.1/Buildinfo.gz I have read that both packages
were produced by kernel-package version 6.03. I have upgraded
kernel-package to this version and now I am executing "make-kpkg
clean;make-kpkg --revision=custom.1.0 kernel_image". Should it work well
now?

-- 
Conrado Badenas (Assistant Lecturer)
Department of Thermodynamics. University of Valencia
c/. Doctor Moliner, 50       | e-m: Conrado.Badenas@uv.es
46100 Burjassot (Valencia)   | Phn: +34-63864350
SPAIN                        | Fax: +34-63983385


Reply to: