- Timestamp:
- 02/15/2013 01:56:39 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 6eb029d
- Parents:
- 2acccb9
- Location:
- chapter06
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/attr.xml
r2acccb9 rc97d81d 58 58 attributes. To test the results, issue:</para> 59 59 60 <screen><userinput remap="test">make tests root-tests ext-tests</userinput></screen> 60 <!-- ext-tests fail for some reason --> 61 <screen><userinput remap="test">make tests root-tests</userinput></screen> 61 62 62 63 <para>Install the package:</para> 63 64 64 <screen><userinput remap="install">make install install-dev install-lib</userinput></screen> 65 <screen><userinput remap="install">make install install-dev install-lib && 66 chmod -v 0755 /lib/libattr.so.1.1.0</userinput></screen> 67 68 <para>Remove static library and libtool archive from 69 <filename class="directory">/lib</filename>, they exist in 70 <filename class="directory">/usr/lib</filename>:</para> 71 72 <screen><userinput remap="install">rm -v /lib/libattr.{a,la,so}</userinput></screen> 73 74 <para>Change default location for the libtool archive and recreate 75 symlink to shared library since it points to removed file:</para> 76 77 <screen><userinput remap="install">sed -i 's@/lib@/usr/lib@' /usr/lib/libattr.la && 78 ln -sfv ../../lib/libattr.so.1 /usr/lib/libattr.so</userinput></screen> 65 79 66 80 </sect2> … … 77 91 <seg>attr, getfattr, and setattr</seg> 78 92 <seg>libattr.{so,a}</seg> 79 <seg>/usr/ {include/attr,share/doc/attr-&attr-version;}</seg>93 <seg>/usr/include/attr and /usr/share/doc/attr-&attr-version;</seg> 80 94 </seglistitem> 81 95 </segmentedlist> -
chapter06/coreutils.xml
r2acccb9 rc97d81d 121 121 <screen><userinput remap="install">mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin 122 122 mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin 123 mv -v /usr/bin/{rmdir,stty,sync,true,uname ,test,[} /bin123 mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin 124 124 mv -v /usr/bin/chroot /usr/sbin 125 125 mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8 126 126 sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen> 127 128 <para>Some of the scripts in the LFS-Bootscripts package depend on129 <command>head</command>, <command>sleep</command>, and130 <command>nice</command>. As <filename class="directory">/usr</filename>131 may not be available during the early stages of booting, those binaries132 need to be on the root partition:</para>133 134 <screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen>135 127 136 128 </sect2> -
chapter06/libcap.xml
r2acccb9 rc97d81d 15 15 </sect1info> 16 16 17 <title>Libcap 2-&libcap-version;</title>17 <title>Libcap-&libcap-version;</title> 18 18 19 19 <indexterm zone="ch-system-libcap"> … … 52 52 <para>Install the package:</para> 53 53 54 <screen><userinput remap="install">make RAISE_SETFCAP=no install</userinput></screen> 54 <screen><userinput remap="install">make RAISE_SETFCAP=no prefix=/usr install && 55 chmod -v 0755 /usr/lib/libcap.so.2.22</userinput></screen> 56 57 <para>The shared library needs to be moved to 58 <filename class="directory">/lib</filename>, and as a result the 59 <filename class="extension">.so</filename> file in 60 <filename class="directory">/usr/lib</filename> will need to be recreated:</para> 61 62 <screen><userinput remap="install">mv -v /usr/lib/libcap.so.* /lib && 63 ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so</userinput></screen> 55 64 56 65 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.