Changeset 4bc6304


Ignore:
Timestamp:
09/02/2002 03:46:18 PM (22 years ago)
Author:
Timothy Bauscher <timothy@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
549cfcf
Parents:
54eee9df
Message:

Symlink sh to bash, and bash to /static/bin/bash. Shortened some cp commands. Changed call to less so SGR will work.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r54eee9df r4bc6304  
    5252</itemizedlist>
    5353</para></listitem>
     54
     55<listitem><para>September 2nd, 2002 [timothy]: Chapter 06 - Bash: Removed
     56creation of sh symlink. Creating the bash and sh symlinks: Added /bin/bash
     57symlink, symlinked sh to bash. Gzip, Sysvinit, Util-Linux: Shortened cp
     58command. Makedev: Removed /bin/bash creation and removal. Man: Modified sed
     59statement to edit less call, so SGR will work.</para></listitem>
    5460
    5561<listitem><para>September 1st, 2002 [timothy]: Chapter 06 - About
  • chapter05/gcc-inst.xml

    r54eee9df r4bc6304  
    2020../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
    2121&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;
    22 echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &amp;&amp;
     22echo "#define HAVE_GAS_HIDDEN 1" &gt;&gt; gcc/auto-host.h &amp;&amp;
    2323make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
    2424make prefix=$LFS/static install &amp;&amp;
  • chapter06/bash-inst.xml

    r54eee9df r4bc6304  
    77make &amp;&amp;
    88make install &amp;&amp;
    9 ln -sf bash /bin/sh &amp;&amp;
    109exec /bin/bash --login</userinput></screen></para>
    1110
  • chapter06/createfiles.xml

    r54eee9df r4bc6304  
    11<sect1 id="ch06-createfiles">
    2 <title>Creating the /bin/sh symlink</title>
     2<title>Creating the bash and sh symlinks</title>
    33<?dbhtml filename="createfiles.html" dir="chapter06"?>
    44
    5 <para>Some programs hard-wire paths that don't exist yet.  The only one
    6 which may cause us trouble is <filename>/bin/sh</filename>.
    7 We therefore create this for the time being and replace it
    8 properly when the bash package is (re)installed.</para>
     5<para>Some programs hard-wire paths to programs which don't exist yet. In
     6order to satisfy these programs, we create the <filename>/bin/bash</filename>
     7and <filename>/bin/sh</filename> symlinks.</para>
    98
    10 <para>Create the /bin/sh symlink by running the following commands:</para>
     9<para>Create the /bin/bash and /bin/sh symlinks by running the following
     10commands:</para>
    1111
    12 <para><screen><userinput>ln -s /static/bin/bash /bin/sh</userinput></screen></para>
     12<para><screen><userinput>ln -s /static/bin/bash /bin/bash &amp;&amp;
     13ln -s bash /bin/sh</userinput></screen></para>
    1314
    1415</sect1>
  • chapter06/gzip-inst.xml

    r54eee9df r4bc6304  
    55
    66<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
    7 cp gzexe.in gzexe.in.backup &amp;&amp;
     7cp gzexe.in{,.backup} &amp;&amp;
    88sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in &amp;&amp;
    99make &amp;&amp;
  • chapter06/makedev-inst.xml

    r54eee9df r4bc6304  
    22<title>Creating devices</title>
    33
    4 <para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not an archive, so it
    5 won't create a directory for you to cd into.</para>
     4<para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not
     5an archive, so it won't create a directory for you to cd into.</para>
    66
    77<para>Create the device files by running the following commands:</para>
    88
    9 <para><screen><userinput>ln -s /static/bin/bash /bin/bash &amp;&amp;
    10 cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
     9<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
    1110cd /dev &amp;&amp;
    1211chmod 754 MAKEDEV</userinput></screen></para>
     
    1615
    1716<para>If you do not intend to use devpts, run:</para>
    18 <para><screen><userinput>./MAKEDEV -v generic &amp;&amp;
    19 rm /bin/bash</userinput></screen></para>
     17<para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
    2018
    2119<para>If you do intend to use devpts, then run:</para>
    22 <para><screen><userinput>./MAKEDEV -v generic-nopty &amp;&amp;
    23 rm /bin/bash</userinput></screen></para>
     20<para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para>
    2421
    2522<para>Note that if you aren't sure, it's best to use
  • chapter06/man-exp.xml

    r54eee9df r4bc6304  
    99of our programs.</para>
    1010
    11 <para><userinput>sed -e '/^NROFF/s/-mandoc/-c -mandoc/'</userinput>:
    12 This prevents groff from using SGR (Set Graphics Rendition) escape
    13 sequences on our man pages.</para>
     11<para><userinput>sed '/^PAGER/s/-is/-isR/'</userinput>:
     12The version of groff we installed supports SGR (Set Graphics Rendition)
     13escape sequences. In order for our man pages to display properly, we
     14add the R argument to the call for the less pager.</para>
    1415
    1516</sect2>
  • chapter06/man-inst.xml

    r54eee9df r4bc6304  
    88make &amp;&amp;
    99cp src/man.conf{,.backup} &amp;&amp;
    10 sed -e '/^NROFF/s/-mandoc/-c -mandoc/' \
    11 &nbsp;&nbsp;&nbsp;&nbsp;src/man.conf.backup > src/man.conf &amp;&amp;
     10sed '/^PAGER/s/-is/-isR/' \
     11&nbsp;&nbsp;&nbsp;&nbsp;src/man.conf.backup &gt; src/man.conf &amp;&amp;
    1212make install</userinput></screen></para>
     13
     14<para>Note: If you wish to disable SGR escape sequences, you should
     15edit the man.conf file and add the <userinput>-c</userinput> argument
     16to nroff.</para>
    1317
    1418<para>You may want to take a look at the man hint
  • chapter06/sysvinit-inst.xml

    r54eee9df r4bc6304  
    1111skip it.</para>
    1212
    13 <para><screen><userinput>cp src/init.c src/init.c.backup &amp;&amp;
     13<para><screen><userinput>cp src/init.c{,.backup} &amp;&amp;
    1414sed 's/Sending processes/Sending processes started by init/g' \
    1515&nbsp;&nbsp;&nbsp;&nbsp;src/init.c.backup &gt; src/init.c</userinput></screen></para>
  • chapter06/utillinux-inst.xml

    r54eee9df r4bc6304  
    66util-linux package, FHS-compliant, run the following.</para>
    77
    8 <para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &amp;&amp;
     8<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &amp;&amp;
    99sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
    1010&nbsp;&nbsp;&nbsp;&nbsp;hwclock/hwclock.c.backup &gt; hwclock/hwclock.c &amp;&amp;
  • index.xml

    r54eee9df r4bc6304  
    55<!ENTITY book SYSTEM "book/book.xml">
    66
    7 <!ENTITY version "20020901">
    8 <!ENTITY releasedate "September 1st, 2002">
     7<!ENTITY version "20020902">
     8<!ENTITY releasedate "September 2nd, 2002">
    99
    1010<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
Note: See TracChangeset for help on using the changeset viewer.