Re: How to check if kernel sources are installed on a system?

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

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux