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 + Some packages in BLFS and beyond expect the following + programs in /bin, so + make sure they are placed there: + +mv -v /usr/bin/{head,sleep,nice,test,[} /bin + 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 @@ make install + Some packages in BLFS and beyond expect the + find program in /bin, so make sure + it's placed there: + +mv -v /usr/bin/find /bin +sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb + 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 /etc/fstab, /etc/passwd, /etc/group, - /etc/shadow, - /etc/ld.so.conf, - /etc/sysconfig/rc.site, - /etc/sysconfig/network, and - /etc/sysconfig/ifconfig.eth0. + /etc/shadow, and + /etc/ld.so.conf. A custom kernel may need to be built for the new system depending on