Mailing List Archive


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

Re: [tlug] Upgrading the kernel...?



>>>>> "Botond" == Botond Botyanszki <tlug@example.com> writes:

    Botond> Building a vanilla kernel.org kernel with make-kpkg should
    Botond> work[1]. What I meant was building externally distributed
    Botond> kernel modules like lm-sensors, sysprof-module, ivtv, etc.

Sure.  I very strongly suspect that all of those modules just unpack
into /usr/src/modules and you put them in the appropriate option for
make-kpkg and you're done, just like it was for pcmcia.

    Botond> `make-kpkg modules_image` depends on
    Botond>  * the module source being under /usr/src/modules

True, but probably trivial if you know how to "cd" or use the -C
option of tar.

    Botond>  * a debian directory with the appropriate files in it
    Botond>  which is rarely bundled with upstream sources.

True, but the whole point of make-kpkg is that it builds that for
you.  You do not need a separate debian directory if you build in the
context of the kernel source tree.

    Botond> That's pretty weird. Properly written modules compile
    Botond> without the full kernel source tree, all they need is the
    Botond> headers.

Of course they do, but that requires more thinking than make-kpkg
needs to do.

    Botond> [1] Note that upstream (=Linus and friends) can change the
    Botond> build system any time so that make-kpkg will break, thus I
    Botond> tend to use make-kpkg with the debian kernels sources
    Botond> only.

Your loss!  As I wrote, I've been using make-kpkg for six years, and
I've never seen it get confused.  Although I've seen bugs in the
Debian database aged up to 1500 days, I doubt a build failure due to
make-kpkg would take longer than 5 before the official maintainer
upload.


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links