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

Re: Confused about kernel source location



Frank McCormick wrote:

>>> Well, I always store there all the sources related with my kernel,
>>> modules, etc... I haven't get any problem... BTW, remember doing
>>> the symlink to /usr/src/linux from your kernel-source.
>>
>> Well then why the warning from the Kernel developers? And what's
>> this about symlinking? Symlinking what to what ?

I don't know why. but the kernel package readme
(/usr/share/doc/kernel-package/README.gz) also suggests not to build
the kernel there. Also the Filesystem Hierarchy Standard (FHS) says
that source code may be placed under /usr/src "only for reference
purposes" and "should not be build within". Again I don't understand
why exactly.

If you can use make-kpkg, I think following the instruction detailed
in the kernel-package readme is an easy path.

I never used that symlink (what is that?).

>    Anybody? Where do people dump their kernel source anyway???

I use /usr/local/src/kernel.



Reply to: