Ignore:
Timestamp:
11/29/2014 08:21:24 PM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a8ec8bf
Parents:
e6b6261
Message:

Reformat eudev to support jhalfs

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10800 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/eudev.xml

    re6b6261 r1a96a4ed  
    7373will also be used as a part of installation:</para>
    7474
    75 <screen><userinput remap="test">mkdir -pv /lib/{firmware,udev}
    76 mkdir -pv /lib/udev/rules.d
     75<screen><userinput remap="test">mkdir -pv /lib/udev/rules.d
    7776mkdir -pv /etc/udev/rules.d</userinput></screen>
    7877
    79 <para>To test the results, run issue:</para>
     78<para>To test the results, issue:</para>
    8079
    8180<screen><userinput remap="test">make check</userinput></screen>
    8281
    83     <para>Install the package and create the initial
    84     <filename>/etc/udev/hwdb.bin</filename> file:</para>
    85 
    86 <screen><userinput remap="install">make install
    87 udevadm hwdb --update</userinput></screen>
    88 
    89 <para>Now, install the man pages:</para>
     82    <para>Install the package:</para>
     83
     84<screen><userinput remap="install">make install</userinput></screen>
     85
     86    <para>Now, install the man pages:</para>
    9087
    9188<screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share</userinput></screen>
     
    9693<screen><userinput remap="install">tar -xvf ../&udev-lfs-version;.tar.bz2
    9794make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
     95
     96  </sect2>
     97
     98  <sect2 id="conf-eudev" role="configuration">
     99    <title>Configuring Eudev</title>
     100
     101    <indexterm zone="conf-eudev">
     102      <primary sortas="a-Eudev">Eudev</primary>
     103      <secondary>configuring</secondary>
     104    </indexterm>
     105
     106    <indexterm zone="conf-eudev">
     107      <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary>
     108    </indexterm>
     109
     110    <para>Information about hardware devices is maintained in the
     111    <filename class="directory">/etc/udev/hwdb.d</filename> and
     112    <filename class="directory">/usr/lib/udev/hwdb.d</filename> directories.
     113    <application>Eudev</application> needs that information to be compiled
     114    into a binary database <filename>/etc/udev/hwdb.bin</filename>. Create the
     115    initial database:</para>
     116
     117<screen><userinput>udevadm hwdb --update</userinput></screen>
     118
     119    <para>This command needs to be run each time the hardware information is
     120    updated.</para>
    98121
    99122  </sect2>
Note: See TracChangeset for help on using the changeset viewer.