Author: ken
Date: Sat Sep 6 14:23:28 2014
New Revision: 14208
Log:
Slightly improve user-automation of install-tl-unx: generate the correct
ARCH-linux directory name for extrapaths.sh. The directory name in the cd is
unfortunately still '<CCYYMMDD>'. Also correct the biber tag to checked for 7.5.
Modified:
trunk/BOOK/pst/typesetting/biber.xml
trunk/BOOK/pst/typesetting/texlive.xml
trunk/BOOK/pst/typesetting/tl-installer.xml
Modified: trunk/BOOK/pst/typesetting/biber.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/biber.xml Sat Sep 6 12:57:00 2014
(r14207)
+++ trunk/BOOK/pst/typesetting/biber.xml Sat Sep 6 14:23:28 2014
(r14208)
@@ -35,7 +35,7 @@
directory. Please ensure you download it from the correct versioned
directory at sourceforge, the 1.9 version is broken as-shipped.</para>
- &lfs75_built;
+ &lfs75_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
Modified: trunk/BOOK/pst/typesetting/texlive.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/texlive.xml Sat Sep 6 12:57:00 2014
(r14207)
+++ trunk/BOOK/pst/typesetting/texlive.xml Sat Sep 6 14:23:28 2014
(r14208)
@@ -10,7 +10,7 @@
<!ENTITY texlive-source-size "40 MB">
<!-- buildsize is the source dir, plus the kpathsea files installed to /usr.
- The progs in bin/ARCH/ seem slightly smaller (shared libs) -->
+ The progs in bin/$TEXARCH/ seem slightly smaller (shared libs) -->
<!ENTITY texlive-buildsize "555 MB">
<!ENTITY texlive-time "8.4 SBU">
]>
Modified: trunk/BOOK/pst/typesetting/tl-installer.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/tl-installer.xml Sat Sep 6 12:57:00 2014
(r14207)
+++ trunk/BOOK/pst/typesetting/tl-installer.xml Sat Sep 6 14:23:28 2014
(r14208)
@@ -40,8 +40,9 @@
<para>It is necessary to use a binary installer for the first install.
This will provide the programs, the scripts, and a lot of supporting files
- and documentation. After that, you can rebuild most of the programs from
source
- by following the instructions for <xref linkend="texlive"/>. The installer
+ and documentation. After that, you can rebuild the programs from source
+ by following the instructions for <xref linkend="texlive"/> and
+ <xref linkend="biber"/>. The installer
is updated frequently, so its md5sum will change if it is newer than what
is shown below. Newer versions of the installer are expected to work with
these instructions, for so long as they install to a
@@ -145,18 +146,20 @@
scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
the needed paths by appending to the
<filename>extrapaths.sh</filename> script. The programs are always
- installed in an <ARCH>-linux subdirectory.
- <emphasis>Always</emphasis> replace <ARCH> by x86_64, for 64bit,
- or by i386, for 32bit, respectively, depending on the architecture that
- you are using in your actual installation location.</para>
+ installed in an <ARCH>-linux subdirectory and on 32-bit x86 this is
+ always i386-linux. For x86_64 and i?86 we can generate this as $TEXARCH:
+ </para>
-<screen><userinput role="root">cat >> /etc/profile.d/extrapaths.sh
<< "EOF"
+<!-- EOF should NOT be in double quotes, we want it to evaluate $TEXARCH -->
+<screen><userinput role="root">export TEXARCH=$(uname -m | sed -e
's/i.86/i386/' -e 's/$/-linux/') &&
+cat >> /etc/profile.d/extrapaths.sh << EOF
pathappend /usr/share/man MANPATH
pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
pathappend /usr/share/info INFOPATH
pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
-pathappend /opt/texlive/&texlive-year;/bin/<ARCH>-linux
-EOF</userinput></screen>
+pathappend /opt/texlive/&texlive-year;/bin/$TEXARCH
+EOF
+unset TEXARCH</userinput></screen>
<note><para>The standard MANPATH and INFOPATH path are specified above to
ensure they are included. If they are already set in the boot script
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page