Kernel Configuration

To be able to build kernels, you obviously need the kernel source package (called kernel-source) installed. In addition, you need gcc, make, and a number of other packages. One of the SUSE installation pattern options is "Linux Kernel Development." If you have installed that selection, you should have everything you need.

If you have not installed the Linux Kernel Development pattern, most of the examples " ' ■ ' ■ in the rest of this chapter will not work.

If you want to base your kernel configuration on the currently running kernel, you have more than one way to begin.

The configuration of the kernel that is actually running is always available in /proc /config.gz, a gzipped virtual file in the /proc filesystem, which is created in memory on-the-fly by the running kernel (see Listing 29-1).

Was this article helpful?

0 0

Post a comment