kernel 2.6.17 build from source fails

Joel Bryan Juliano joelbryan.juliano at gmail.com
Tue Mar 13 23:20:51 UTC 2007


On 3/14/07, golfer <golfbuf at gmail.com> wrote:
> 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Yikes! are you sure you want to do that, it will consume your time and
will need around ~7 Gigabytes of your disk.

Why not just use the 'make' method?




More information about the ubuntu-users mailing list