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



On Thu, 2006-05-25 21:19:33 -0000, devmazumdar <dev@xxxxxxxxxxxxx> wrote:
How does one check the existence of the kernel source RPM (or deb) on
every single distribution?.

You don't. That's the user's task!

We know that rpm -qa | grep kernel-source works on Redhat, Fedora,
SuSE, Mandrake and CentOS - how about other RPM based distros? How
about debian based distros?. There doesn't seem to be a a single
conherent naming scheme.

Indeed, there isn't. Think about selfmade installations. Just ask the
user to provide you with the correct path. There may even be several
kernel version's source trees installed, with different configuration.

Another thing, can we please start enforcing that people ship kernel
source with the base installation? If distributors are distributing

No way.

kernels, then it must be an absolute requirement that they ship kernel
sources in a "configured" state as well. If you're not going to
provide a stable kernel API, then atleast please make this a requirement.

Distros *will* ship kernel's configuration, but that'll never ever be
installed by default.

If you work on drivers (as it seems), please just clean up the code
and post it to the kernel mailing list (or subsystem specific lists.)
Once it meets the standards, it'll just become a part of the tree,
releasing you from the burden to think about its local installation.

MfG, JBG

--
Jan-Benedict Glaw jbglaw@xxxxxxxxxx . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Toshiba Libretto - best distribution
    ... First off, I'm a Linux newbie, so please forgive my question. ... install a Linux distribution onto my Toshiba Libretto 100CT with 64Mb RAM ... The purpose for the installation is purely as a network sniffer with tools ...
    (comp.os.linux.setup)
  • Re: /home
    ... Only if you decide to share /tmp do you need a seperate partition. ... distribution installation and how much time and efford you want to put ... The way I got to SUSE was by trying out and SUSE was the first I was ...
    (alt.os.linux.suse)
  • ProTeXt/MikTeX: ps2pdf does not work
    ... I have installed MikTeX via the ProTeXt distribution system on Windows XP. ... However, I didn't yet find the file where all the paths are contained, and I'am wondering why nobody had noticed the error since MikTeX 1.8. ... I didn't make any changes to the installation but left everything as default. ... Does anyone confirm that the current PT/MT distribution is obviously buggy? ...
    (comp.text.tex)
  • Re: [SLE] sharing /home between different linuxes
    ... > variant of linux. ... Possibility of one installation wiping out the home directory of another: ... distros may choose to use the same numerical ID for users or groups. ... Other applications' config files: I know I have dozens of "dot" files and ...
    (SuSE)
  • xfree86 upgrade problem- cant detect the bindist version
    ... doesn't work with my old redhat 6.0 distribution. ... xinstall.sh -check command ans got the following answer; ... the xfree86 ftp site. ... You are strongly advised to backup your existing XFree86 installation ...
    (comp.os.linux.setup)