reassign 330331 kernel-package
thanks

Sorry Marc,

but this is a general kernel problem. You need to run at least the
"modules_prepare" target inside of the kernel tree before doing anything
with modules. linux-headers-... packages do it right and come with a
working modpost utility. linux-source-... generated by kernel-package is
almost pristine, you need to setup it first.

I am not sure about the best way to work around the problem.  IMO
kernel-package should also detect incomplete environment and run the
modules_prepare rule before using modules_image target.

Eduard.


> severity #330331 wishlist
> thanks
> 
> On Tue, Sep 27, 2005 at 05:51:10PM +0200, Marc Haber wrote:
> > unlike other foo-source packages, sl-modem-source needs the kernel
> > tree not only configured, but it also needs the kernel to have been
> > successfully built before. Otherwise, scripts/mod/modpost does not
> > seem to exist and the package build fails.
> > 
> > Please document this in README.Debian or find a work-around which
> > allows sl-modem-modules to be built _before_ the kernel.
> 
> I am using linux 2.6.14-rc1, and the call that fails is
> 
> $ fakeroot make-kpkg --append-to-version=-scyw00225 
> --revisiion=2.6.14rc1.20050927.1 modules_image
> 
> Greetings
> MArc
> 
-- 
Ein Student, der im Examen durchgefallen war, telegraphiert an seinen
Bruder: "Nicht bestanden. Bereite Vater vor."
Der Bruder telegraphiert zurück: "Vater vorbereitet. Bereite dich vor."

Reply via email to