aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/udev.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-18 21:11:00 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-18 21:11:00 +0000
commit0445a3d50660d84f11d095db0177078f4f5cd8a0 (patch)
tree0a498ecf0a0714891f5c4576bc508558268283a8 /chapter06/udev.xml
parenta7a02386b4c83ed74790c1918c80f1fffc3af472 (diff)
Added remap attributes to userinput tags in packages pages.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/udev.xml')
-rw-r--r--chapter06/udev.xml23
1 files changed, 12 insertions, 11 deletions
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 21499bca4..47660a649 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -44,12 +44,12 @@
<para>The udev-config tarball contains LFS-specific files used to configure
Udev. Unpack it into the Udev source directory:</para>
-<screen><userinput>tar -xvf ../&udev-config;.tar.bz2</userinput></screen>
+<screen><userinput remap="pre">tar -xvf ../&udev-config;.tar.bz2</userinput></screen>
<para>Create some devices and directories that Udev cannot handle due to
them being required very early in the boot process:</para>
-<screen><userinput>install -dv /lib/{firmware,udev/devices/{pts,shm}}
+<screen><userinput remap="pre">install -dv /lib/{firmware,udev/devices/{pts,shm}}
mknod -m0666 /lib/udev/devices/null c 1 3
ln -sv /proc/self/fd /lib/udev/devices/fd
ln -sv /proc/self/fd/0 /lib/udev/devices/stdin
@@ -59,7 +59,7 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
<para>Compile the package:</para>
-<screen><userinput>make EXTRAS="`echo extras/*/`"</userinput></screen>
+<screen><userinput remap="make">make EXTRAS="`echo extras/*/`"</userinput></screen>
<variablelist>
<title>The meaning of the make option:</title>
@@ -74,15 +74,16 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
</variablelist>
- <para>To test the results, issue:
- <userinput>make test</userinput>.</para>
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make test</userinput></screen>
<para>Note that the Udev testsuite will produce numerous messages in
the host system's logs. These are harmless and can be ignored.</para>
<para>Install the package:</para>
-<screen><userinput>make DESTDIR=/ EXTRAS="`echo extras/*/`" install</userinput></screen>
+<screen><userinput remap="install">make DESTDIR=/ EXTRAS="`echo extras/*/`" install</userinput></screen>
<variablelist>
<title>The meaning of the make parameter:</title>
@@ -102,27 +103,27 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
installs a few configuration files by default. First install the
commonly-used rules files provided by Udev:</para>
-<screen><userinput>cp -v etc/udev/rules.d/[0-9]* /etc/udev/rules.d/</userinput></screen>
+<screen><userinput remap="install">cp -v etc/udev/rules.d/[0-9]* /etc/udev/rules.d/</userinput></screen>
<para>Now install the LFS-specific rules files:</para>
-<screen><userinput>cd &udev-config;
+<screen><userinput remap="install">cd &udev-config;
make install</userinput></screen>
<para>Install the documentation that explains the LFS-specific rules
files:</para>
-<screen><userinput>make install-doc</userinput></screen>
+<screen><userinput remap="install">make install-doc</userinput></screen>
<para>Install the documentation that explains the commonly-used rules
files provided by Udev:</para>
-<screen><userinput>make install-extra-doc</userinput></screen>
+<screen><userinput remap="install">make install-extra-doc</userinput></screen>
<para>Install the documentation that explains how to create custom Udev
rules:</para>
-<screen><userinput>cd ..
+<screen><userinput remap="install">cd ..
install -m644 -v docs/writing_udev_rules/index.html \
/usr/share/doc/udev-&udev-version;/index.html</userinput></screen>