- Timestamp:
- 10/15/2008 02:09:26 AM (16 years ago)
- 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, 12.2, 12.2-rc1, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- a4e48686
- Parents:
- c49647b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/udev.xml
rc49647b1 rd75c123 61 61 <para>Prepare the package for compilation:</para> 62 62 63 <screen><userinput remap="configure">./configure --prefix=/ --includedir=/usr/include \ 64 --datarootdir=/usr/share</userinput></screen> 63 <screen><userinput remap="configure">./configure --prefix=/usr \ 64 --exec-prefix= \ 65 --sysconfdir=/etc</userinput></screen> 65 66 66 67 <para>Compile the package:</para> … … 73 74 74 75 <screen><userinput remap="install">make install</userinput></screen> 75 76 <para>Recreate the library <filename class="extension">.so</filename> files77 currently in the <filename class="directory">/lib</filename> directory in78 <filename class="directory">/usr/lib</filename>, then remove the79 originals:</para>80 81 <screen><userinput remap="install">ln -sv ../../lib/$(readlink /lib/libudev.so) \82 /usr/lib/libudev.so83 ln -sv ../../lib/$(readlink /lib/libvolume_id.so) \84 /usr/lib/libvolume_id.so85 rm -v /lib/lib{udev,volume_id}.so</userinput></screen>86 87 <para>Move the <filename class="extension">.pc</filename> files currently88 in the <filename class="directory">/lib/pkgconfig</filename> directory to89 their proper place in <filename class="directory">/usr/lib</filename>:</para>90 91 <screen><userinput remap="install">mv -v /lib/pkgconfig/lib{udev,volume_id}.pc /usr/lib/pkgconfig92 rmdir -v /lib/pkgconfig</userinput></screen>93 76 94 77 <para>Udev has to be configured in order to work properly, as its default … … 97 80 98 81 <screen><userinput remap="install">install -m644 -v rules/packages/64-*.rules \ 99 / etc/udev/rules.d/</userinput></screen>82 /lib/udev/rules.d/</userinput></screen> 100 83 101 84 <para>Now install a file to create symlinks for certain hand-held devices:</para> 102 85 103 86 <screen><userinput remap="install">install -m644 -v rules/packages/40-pilot-links.rules \ 104 / etc/udev/rules.d/</userinput></screen>87 /lib/udev/rules.d/</userinput></screen> 105 88 106 89 <!-- There are more files available in the packages/ directory, if we want
Note:
See TracChangeset
for help on using the changeset viewer.