Author: matthew Date: 2009-03-12 15:02:01 -0600 (Thu, 12 Mar 2009) New Revision: 8836
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter06/chapter06.xml trunk/BOOK/chapter06/coreutils.xml trunk/BOOK/chapter06/inetutils.xml Log: Use Inetutils' version of hostname, rather than Coreutils' version. Fixes #2364. Modified: trunk/BOOK/chapter01/changelog.xml =================================================================== --- trunk/BOOK/chapter01/changelog.xml 2009-03-12 21:01:24 UTC (rev 8835) +++ trunk/BOOK/chapter01/changelog.xml 2009-03-12 21:02:01 UTC (rev 8836) @@ -41,6 +41,11 @@ <para>2009-03-12</para> <itemizedlist> <listitem> + <para>[matthew] - Install Inetutils' version of hostname, rather than + Coreutils' version, as it is more featureful. Thanks to Chris Staub & + DJ Lucas. Fixes <ulink url="&lfs-ticket-root;2364">#2364</ulink>.</para> + </listitem> + <listitem> <para>[matthew] - Build mkswap in chapter 5's Util-Linux-NG as it is required by the e2fsprogs test suite. Also, remove the now unnecessary BLKID_LIBS variable. Fixes Modified: trunk/BOOK/chapter06/chapter06.xml =================================================================== --- trunk/BOOK/chapter06/chapter06.xml 2009-03-12 21:01:24 UTC (rev 8835) +++ trunk/BOOK/chapter06/chapter06.xml 2009-03-12 21:02:01 UTC (rev 8836) @@ -39,6 +39,7 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="readline.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libtool.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="inetutils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="autoconf.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="automake.xml"/> @@ -51,7 +52,6 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gettext.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="groff.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gzip.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="inetutils.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="iproute2.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kbd.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="less.xml"/> Modified: trunk/BOOK/chapter06/coreutils.xml =================================================================== --- trunk/BOOK/chapter06/coreutils.xml 2009-03-12 21:01:24 UTC (rev 8835) +++ trunk/BOOK/chapter06/coreutils.xml 2009-03-12 21:02:01 UTC (rev 8836) @@ -64,7 +64,7 @@ <para>Now prepare Coreutils for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr --enable-install-program=hostname \ +<screen><userinput remap="configure">./configure --prefix=/usr \ --enable-no-install-program=kill,uptime</userinput></screen> <variablelist> @@ -122,7 +122,7 @@ <para>Move programs to the locations specified by the FHS:</para> <screen><userinput remap="install">mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin -mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin +mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin mv -v /usr/bin/chroot /usr/sbin</userinput></screen> @@ -146,7 +146,7 @@ <seglistitem> <seg>base64, basename, cat, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env, - expand, expr, factor, false, fmt, fold, groups, head, hostid, hostname, + expand, expr, factor, false, fmt, fold, groups, head, hostid, id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum, sha224sum, sha256sum, @@ -482,16 +482,6 @@ </listitem> </varlistentry> - <varlistentry id="hostname"> - <term><command>hostname</command></term> - <listitem> - <para>Reports or sets the name of the host</para> - <indexterm zone="ch-system-coreutils hostname"> - <primary sortas="b-hostname">hostname</primary> - </indexterm> - </listitem> - </varlistentry> - <varlistentry id="id"> <term><command>id</command></term> <listitem> Modified: trunk/BOOK/chapter06/inetutils.xml =================================================================== --- trunk/BOOK/chapter06/inetutils.xml 2009-03-12 21:01:24 UTC (rev 8835) +++ trunk/BOOK/chapter06/inetutils.xml 2009-03-12 21:02:01 UTC (rev 8836) @@ -132,7 +132,7 @@ <segtitle>Installed programs</segtitle> <seglistitem> - <seg>ftp, ping, ping6, rcp, rlogin, rsh, talk, telnet, and tftp</seg> + <seg>ftp, hostname, ping, ping6, rcp, rlogin, rsh, talk, telnet, and tftp</seg> </seglistitem> </segmentedlist> @@ -151,6 +151,16 @@ </listitem> </varlistentry> + <varlistentry id="hostname"> + <term><command>hostname</command></term> + <listitem> + <para>Reports or sets the name of the host</para> + <indexterm zone="ch-system-inetutils hostname"> + <primary sortas="b-hostname">hostname</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="ping"> <term><command>ping</command></term> <listitem> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page