Current Karmic git kernel compile

Alpha Chen cchalpha at gmail.com
Sat Jun 27 12:16:14 UTC 2009


Hi,
    I don't know if this is the right place to report this. If not,
please don't reply this email to the email group and reply me where to
report this privately. Thanks.

    I used to customize the kernel from git source. But recently, in
karmic git kernel, tag Ubuntu-2.6.30-10.12 and Ubuntu-2.6.31-1.13
(haven't tried Ubuntu-2.6.30-10.11), I failed to compile it with the
following error.

...
II: Done
install -d /home/alpha/src/Ubuntu-2.6.31-1.13/debian/abi/2.6.31-1.13/i386
find /home/alpha/src/Ubuntu-2.6.31-1.13/debian/build/build-generic/
-name \*.ko | \
		sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort >
/home/alpha/src/Ubuntu-2.6.31-1.13/debian/abi/2.6.31-1.13/i386/generic.modules
II: Checking modules for generic...explicitly ignoring modules
dh_testdir
dh_testdir: cannot read debian/control: No such file or directory

make: *** [install-generic] Error 1


    While the same compile command works for the kernel from apt-get.
I just wonder what happened to the git?

    Here is the command I used to get the kernel source and compile

1. To get the source from git folder
git archive Ubuntu-2.6.31-1.13 | ( cd ../Ubuntu-2.6.31-1.13 && tar xf - )

2. In the source folder, edit my favor conf
./debian/scripts/misc/kernelconfig editconfig

3. Compile the kernel
CONCURRENCY_LEVEL=3 AUTOBUILD=1 NOEXTRAS=1 skipabi=true
skipmodule=true fakeroot debian/rules binary-generic

   Have a good day.




More information about the kernel-team mailing list