[FE training-materials-updates] crosstool-ng lab: workaround to fix copy-paste on apt-get line

Michael Opdenacker michael.opdenacker at free-electrons.com
Mon Jan 30 10:36:22 CET 2017


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=530019ee4c0ba0ead0e7921e651ad99b4cd5c23e

>---------------------------------------------------------------

commit 530019ee4c0ba0ead0e7921e651ad99b4cd5c23e
Author: Luca Ceresoli <luca at lucaceresoli.net>
Date:   Mon Jan 30 10:21:48 2017 +0100

    crosstool-ng lab: workaround to fix copy-paste on apt-get line
    
    These lines are rendered in full-sysdev-labs.pdf as two
    columns. There's no visual difference, but copy-pasting them as the
    lab book suggests does not work. The pasted text looks like:
    
      sudo apt-get install
      libncurses5-dev
      build-essential
      pkg-config wget
      autoconf automake libtool-bin libexpat1-dev \
      bison flex patch curl cvs texinfo git bc \
      subversion gawk python-dev gperf unzip \
      help2man
    
    In place of:
    
      sudo apt-get install autoconf automake libtool-bin libexpat1-dev \
      libncurses5-dev bison flex patch curl cvs texinfo git bc \
      build-essential subversion gawk python-dev gperf unzip \
      pkg-config help2man wget
    
    The issue is triggered by the fact that all lines have a whitespace in
    the same column. I'm unable to fix the problem at its root, but
    swapping two packages is an effective workaround.
    
    Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>


>---------------------------------------------------------------

530019ee4c0ba0ead0e7921e651ad99b4cd5c23e
 labs/sysdev-toolchain/sysdev-toolchain.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index eec1f96..3820e53 100644
--- a/labs/sysdev-toolchain/sysdev-toolchain.tex
+++ b/labs/sysdev-toolchain/sysdev-toolchain.tex
@@ -21,7 +21,7 @@ Install the packages needed for this lab:
 sudo apt-get install autoconf automake libtool-bin libexpat1-dev \
      libncurses5-dev bison flex patch curl cvs texinfo git bc \
      build-essential subversion gawk python-dev gperf unzip \
-     pkg-config wget help2man
+     pkg-config help2man wget
 \end{verbatim}
 
 {\em Tip: instead of typing all the above package names, fetch the




More information about the training-materials-updates mailing list