Re: How to check the kernel compile options ?

David Relson (relson@osagesoftware.com)
Wed, 06 Feb 2002 13:16:58 -0500


At 12:26 PM 2/6/02, you wrote:

>... snip ...
>
> * having /usr/src/linux/patches is not practical : it will be a
> big mess wrt
>to conflict

Indeed, if /usr/src/linux/patches was a file, the conflicts would be
impossible to manage. But suppose it was a directory and each patch
created a small description file in that directory. This would provide the
desired information without having the big mess :-)

It's been suggested that config info be saved using the following:

<.config sed -e '/^#/d' -e '/^[ ]*$/d' | gzip -9 >> image

The patch descriptions could be saved in a similar manner:

cat /usr/src/linux/patches/* | gzip -9 >> image

Alternatively, instead of outputting to image, one could output to
/boot/patch-$KERNELVERSION, (or wherever)

David

-
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/