lkml.org 
[lkml]   [2006]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to check if kernel sources are installed on a system?
Arjan,

On Sun, 28 May 2006, Arjan van de Ven wrote:

>
> > But not the right place for the running kernel. /boot/config-`uname -r` will
> > be of the wrong architecture for the running kernel.
>
> so yes you can use --force to cause it to overwrite a file. DUH.
> Big yawn as will since this file isn't needed for anything but for a
> human to build his own kernel; if that human first does the really silly
> --force thing (which is a great way to hose your system) then he knows
> there might not be an exact match. Big Yawn(tm) :)
>

Well, Mandriva doesn't have even this problem because the architecture is
part of the kernel name.

For others its worth sanity checking

rpm -q --qf "%{ARCH}\n" --what-provides /boot/config-`uname -r`

against

uname -m

to ensure that the architecture matches.

--brian
-
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-28 12:17    [W:0.085 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site