kernel 2.6.17 build from source fails

golfer golfbuf at gmail.com
Tue Mar 13 23:08:11 UTC 2007


I'm trying to rebuild the kernel packages from the source package
(linux-source-2.6.17_2.6.17.1.orig.tar.gz).  I'm using this command:

golfbuf:~/Desktop/bld.linux/linux-source-2.6.17-2.6.17.1$
dpkg-buildpackage -rfakeroot -uc -us

after about 4 hours, it fails with this message:

install -p    -m 644 ./debian/templates.master
/home/golfbuf/Desktop/bld.linux/linux-source-2.6.17-2.6.17.1/debian/build/build-kdump/debian/linux-image-2.6.17-kdump/DE
BIAN/templates
dpkg-gencontrol -DArchitecture=i386 -isp         \
                        -plinux-image-2.6.17-kdump
-P/home/golfbuf/Desktop/bld.linux/linux-source-2.6.17-2.6.17.1/debian/build/build-kdump/debian/linux-image-2.6.17-kd
ump/
dpkg-gencontrol: error: package linux-image-2.6.17-kdump not in control info
make[2]: *** [debian/linux-image-2.6.17-kdump] Error 255
make[2]: Leaving directory
`/home/golfbuf/Desktop/bld.linux/linux-source-2.6.17-2.6.17.1/debian/build/build-kdump'
make[1]: *** [binary/linux-image-2.6.17-kdump] Error 2
make[1]: Leaving directory
`/home/golfbuf/Desktop/bld.linux/linux-source-2.6.17-2.6.17.1/debian/build/build-kdump'
make: *** [binary-debs] Error 2


Q1: Anyone know how to fix this and get this to work?
Q2: I actually just want the generic kernel, not all the others (ie
kdump).  Anyone know if there's a command to just build the -generic?

TIA




More information about the ubuntu-users mailing list