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

kernel backporting on etch with "apt-get source"




Hi,

I have found a way to re-create the "official" linux-image*.deb packages using the apt-get source command [1]:

#!/bin/bash
apt-get source -t unstable linux-image-2.6.24-1-686-bigmem
cd linux-2.6-2.6.24
fakeroot debian/rules debian/build debian/stamps
fakeroot make -f debian/rules.gen binary-arch_i386_none_686-bigmem
exit

which will create

linux-image-2.6.24-1-686-bigmem_2.6.24-2_i386.deb
linux-headers-2.6.24-1-686-bigmem_2.6.24-2_i386.deb

However, I can't install linux-headers-2.6.24-1-686-bigmem_2.6.24-2_i386.deb, because it depends on

linux-headers-2.6.24-1-common_2.6.24-2_i386.deb

and I could not figure out how to build this package using the makefile system of the debian kernel source. I downloaded the package from the repository and could continue, but I would like to be able to actually build linux-headers-2.6.24-1-common myself to avoid inconsistencies. I tried the "binary-indep" target, but without success.

Any ideas?

Cheers, Stefan

[1] http://www.badpacket.info/junk/blah.txt

-- Stefan Kluth, PhD -------- Wissenschaftler -------------------------
-  MPI fuer Physik         -  phone:  +49 89 32354 468  -      ATLAS  -
-  Foehringer Ring 6       -  fax:    +49 89 32354 305  -      &OPAL  -
-- D-80805 Munich, Germany -- e-mail: skluth@mppmu.mpg.de -------------


Reply to: