lkml.org 
[lkml]   [2006]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: How to check if kernel sources are installed on a system?
    Date
    On May 26, 2006, at 11:35:30, Brian F. G. Bidulock wrote:
    > On Fri, 26 May 2006, Arjan van de Ven wrote:
    >> /boot/config-`uname -r`
    >
    > Debian (Woody), OTOH strips extra names of their kernels, so 3 or 4
    > different releases of the same upstream kernel version all install
    > with the same name and report `uname -r` the same. If multiple of
    > these kernels and a vanilla kernel are installed, their config
    > files will be difficult to distinguish. dpkg can be used (similar
    > to above for rpm) to test the condition.

    Huh? My Debian system here has:

    /boot/config-2.6.15-1-powerpc-smp

    This corresponds to the config of the currently installed version and
    revision ("2.6.15-8") of the "linux-image-2.6.15-1-powerpc-smp"
    package. Since you can only have one version of a given package
    installed at once, this poses no problems.

    If I upgrade to a new one (say "2.6.15-9") that changes the config
    slightly or adds a new distro patch, then that config and kernel
    image would replace the currently installed one. If I use make-kpkg
    to build and install a custom kernel tuned for "host":

    make-kpkg [args] --append-to-version -zeus1-1-powerpc-smp --
    revision 1 kernel_image

    Now I get a package "linux-image-2.6.15-zeus1-1-powerpc-smp" version
    "2.6.15-1", with:

    /boot/config-2.6.15-zeus1-1-powerpc-smp

    I see no potential for confusion or mismatch here.

    Cheers,
    Kyle Moffett

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-05-27 16:46    [W:2.636 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site