On 02/03/2013 12:24 PM, Alan McKinnon wrote: > > - trying to infer something from the current running kernel, or > /usr/src/linux/.config or some magic name in /boot/ is pointless and > leads to so many false positives it isn't worth the effort in the > general case.
It was claimed that this will result in false positives, but no one would give any examples. You need /usr/src/linux to point to the right place anyway, if you want to compile out-of-tree modules, or e.g. video drivers. Most people have it pointed to the right place. If it's pointed to the wrong place by accident, it should be fixed. So the config check alerts them to that fact. Considering that there are no consequences for false positives, and big consequences for false negatives, I think it makes sense to trigger the warning and let people override it with I_KNOW_WHAT_I_AM_DOING in one of the rare cases where the kernel config is unavailable (or wrong). But alas, this horse is dead.