How to create custom linux-restricted-modules?
Chris Cohen
kildau-ml at gmx.de
Thu May 22 08:36:27 UTC 2008
no way?
On Tuesday 20 May 2008 21:47:28 Chris Cohen wrote:
> On Tuesday 20 May 2008 21:06:54 Dotan Cohen wrote:
> > 2008/5/20 Chris Cohen <kildau-ml at gmx.de>:
> > > Hello,
> > >
> > > just built a custom kernel. But how do I create
> > > linux-restricted-modules now? I've seen the posts on ubuntuforums
> > > and also read
> > > https://help.ubuntu.com/community/CustomRestrictedModules. But it
> > > just "doesn't work"... tons of errors.
> > > So, how does one build a custom kernel without loosing the
> > > ability to use e.g. nvidia drivers in an easy way?
> >
> > Post your errors.
>
> Uhm... where do I start.
> I apt-get sourced & apt-get build-dep'ed the latest
> linux-restricted-modules in hardy. My Kernel-Image is called
> linux-image-2.6.25.4-lldesktop. linux-headers are also installed.
>
> I then renamed linux-restricted-modules-2.6.24-2.6.24.12 to
> linux-restricted-modules-2.6.25-2.6.25.4.
>
> But what I don't know is, what I have to put into debian/rules.
> # kernel
> abi_version = $(shell dpkg-parsechangelog | grep ^Version |
> sed 's/.*-//;s/\..*//')
> kernel_version = $(shell dpkg-parsechangelog | grep ^Source |
> sed 's/.*-//')
> kernel_abi_version = $(kernel_version)-$(abi_version)
> lrm_version = $(shell dpkg-parsechangelog | grep ^Version |
> awk '{print $$2}')
> Is what I have atm, but this build 2.6.24-2.6.24.12. I tried serveral
> combinations for abi_version and kernel_version, but I got errors all
> the time. Also, do I really have to set all the options mentioned
> in "Modify debian/rules"?
>
> --
> Thanks
> Chris
More information about the ubuntu-users
mailing list