Forráskód Böngészése

Remove files from pkgmgt.xml not specific to systemd branch. Move programs from /usr/bin to /bin on coreutils and findutils pages to mirror what LFS does.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10696 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Krejzi 11 éve
szülő
commit
9b26915626
3 módosított fájl, 16 hozzáadás és 5 törlés
  1. 6 0
      chapter06/coreutils.xml
  2. 8 0
      chapter06/findutils.xml
  3. 2 5
      chapter06/pkgmgt.xml

+ 6 - 0
chapter06/coreutils.xml

@@ -129,6 +129,12 @@ mv -v /usr/bin/chroot /usr/sbin
 mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
 sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
 
+    <para>Some packages in BLFS and beyond expect the following
+    programs in <filename class="directory">/bin</filename>, so
+    make sure they are placed there:</para>
+
+<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice,test,[} /bin</userinput></screen>
+
   </sect2>
 
   <sect2 id="contents-coreutils" role="content">

+ 8 - 0
chapter06/findutils.xml

@@ -73,6 +73,14 @@
 
 <screen><userinput remap="install">make install</userinput></screen>
 
+    <para>Some packages in BLFS and beyond expect the
+    <command>find</command> program in <filename
+    class="directory">/bin</filename>, so make sure
+    it's placed there:</para>
+
+<screen><userinput remap="install">mv -v /usr/bin/find /bin
+sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb</userinput></screen>
+
   </sect2>
 
   <sect2 id="contents-findutils" role="content">

+ 2 - 5
chapter06/pkgmgt.xml

@@ -260,11 +260,8 @@ make DESTDIR=/usr/pkg/libfoo/1.1 install</userinput></screen>
     <filename>/etc/fstab</filename>,
     <filename>/etc/passwd</filename>,
     <filename>/etc/group</filename>,
-    <filename>/etc/shadow</filename>,
-    <filename>/etc/ld.so.conf</filename>,
-    <filename>/etc/sysconfig/rc.site</filename>,
-    <filename>/etc/sysconfig/network</filename>, and
-    <filename>/etc/sysconfig/ifconfig.eth0</filename>.
+    <filename>/etc/shadow</filename>, and
+    <filename>/etc/ld.so.conf</filename>.
     </para>
 
     <para>A custom kernel may need to be built for the new system depending on