diff options
Diffstat (limited to 'chapter06/kmod.xml')
-rw-r--r-- | chapter06/kmod.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml index 736e0d129..649cb76d3 100644 --- a/chapter06/kmod.xml +++ b/chapter06/kmod.xml @@ -47,8 +47,12 @@ liblzma_LIBS="-L/lib -llzma" \ zlib_CFLAGS="-I/usr/include" \ zlib_LIBS="-L/lib -lz" \ -./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc \ - --with-xz --with-zlib</userinput></screen> +./configure --prefix=/usr \ + --bindir=/bin \ + --libdir=/lib \ + --sysconfdir=/etc \ + --with-xz \ + --with-zlib</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -77,9 +81,11 @@ zlib_LIBS="-L/lib -lz" \ </para> <screen><userinput remap="install">make pkgconfigdir=/usr/lib/pkgconfig install + for target in depmod insmod modinfo modprobe rmmod; do ln -sv ../bin/kmod /sbin/$target done + ln -sv kmod /bin/lsmod</userinput></screen> </sect2> |