Current Karmic git kernel compile
Andy Whitcroft
apw at canonical.com
Sun Jun 28 18:59:34 UTC 2009
On Sun, Jun 28, 2009 at 10:45:29AM +1000, Luke Yelavich wrote:
> On Sat, Jun 27, 2009 at 10:16:14PM EST, Alpha Chen wrote:
> > 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
>
> Before you build the kernel, i.e with a clean source tree, run "debian/rules debian/control.stub" As the control file is no longer stored in git, due to it causing many problems when it comes to merging/rebasing.
Generally I recommend running 'debian/rules clean' as a more general
mechanism to get the tree ready. Packaging generally does this also
before proceeding with the build.
-apw
More information about the kernel-team
mailing list