MTD 248-645A Manual de usuario Pagina 195

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 347
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 194
Linux From Scratch - Version 7.0
175
6.52. Module-Init-Tools-3.16
The Module-Init-Tools package contains programs for handling kernel modules in Linux kernels greater than or equal
to version 2.5.47.
Approximate build time: 0.1 SBU
Required disk space: 8.6 MB
6.52.1. Installation of Module-Init-Tools
Apply a patch that contains the generated man pages that were missing from the released source tarball:
patch -Np1 -i ../module-init-tools-3.16-man_pages-1.patch
The test suite of this package is geared towards the needs of its Maintainer. The command make check builds a
specially wrapped version of modprobe which is useless for normal operation. To run this (about 0.2 SBU), issue the
following commands (note that the make clean command is required to clean up the source tree before recompiling
for normal use):
DOCBOOKTOMAN=/bin/true ./configure
make check
sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &@' tests/runtests
./tests/runtests
make clean
Prepare Module-Init-Tools for compilation:
DOCBOOKTOMAN=/bin/true ./configure --prefix=/ \
--enable-zlib-dynamic --mandir=/usr/share/man
Compile the package:
make
Install the package:
make INSTALL=install install
The meaning of the make parameter:
INSTALL=install
Normally, make install will not install the binaries if they already exist. This option overrides that behavior by
calling install instead of using the default wrapper script.
6.52.2. Contents of Module-Init-Tools
Installed programs: depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and rmmod
Short Descriptions
depmod Creates a dependency file based on the symbols it finds in the existing set of modules; this
dependency file is used by modprobe to automatically load the required modules
insmod Installs a loadable module in the running kernel
Vista de pagina 194
1 2 ... 190 191 192 193 194 195 196 197 198 199 200 ... 346 347

Comentarios a estos manuales

Sin comentarios