diff options
author | Krejzi <krejzi@linuxfromscratch.org> | 2014-08-16 17:23:09 +0000 |
---|---|---|
committer | Krejzi <krejzi@linuxfromscratch.org> | 2014-08-16 17:23:09 +0000 |
commit | 9b26915626df1e8757d732f1618daa6e43209999 (patch) | |
tree | 094684d2ca359980452b7ace59b240323f5b2d18 | |
parent | e7848c325afd7d198671674d5dd152c28f79c02f (diff) |
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
-rw-r--r-- | chapter06/coreutils.xml | 6 | ||||
-rw-r--r-- | chapter06/findutils.xml | 8 | ||||
-rw-r--r-- | chapter06/pkgmgt.xml | 7 |
3 files changed, 16 insertions, 5 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index bda489c28..fa4b2ab85 100644 --- a/chapter06/coreutils.xml +++ b/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"> diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index 654eea72c..66e177f3f 100644 --- a/chapter06/findutils.xml +++ b/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"> diff --git a/chapter06/pkgmgt.xml b/chapter06/pkgmgt.xml index b4734aba0..4810bab78 100644 --- a/chapter06/pkgmgt.xml +++ b/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 |