Changeset 4bc6304
- Timestamp:
- 09/02/2002 03:46:18 PM (22 years ago)
- 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
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r54eee9df r4bc6304 52 52 </itemizedlist> 53 53 </para></listitem> 54 55 <listitem><para>September 2nd, 2002 [timothy]: Chapter 06 - Bash: Removed 56 creation of sh symlink. Creating the bash and sh symlinks: Added /bin/bash 57 symlink, symlinked sh to bash. Gzip, Sysvinit, Util-Linux: Shortened cp 58 command. Makedev: Removed /bin/bash creation and removal. Man: Modified sed 59 statement to edit less call, so SGR will work.</para></listitem> 54 60 55 61 <listitem><para>September 1st, 2002 [timothy]: Chapter 06 - About -
chapter05/gcc-inst.xml
r54eee9df r4bc6304 20 20 ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \ 21 21 --disable-nls --disable-shared --enable-threads=posix && 22 echo "#define HAVE_GAS_HIDDEN 1" >>gcc/auto-host.h &&22 echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h && 23 23 make BOOT_LDFLAGS=-static bootstrap && 24 24 make prefix=$LFS/static install && -
chapter06/bash-inst.xml
r54eee9df r4bc6304 7 7 make && 8 8 make install && 9 ln -sf bash /bin/sh &&10 9 exec /bin/bash --login</userinput></screen></para> 11 10 -
chapter06/createfiles.xml
r54eee9df r4bc6304 1 1 <sect1 id="ch06-createfiles"> 2 <title>Creating the /bin/sh symlink</title>2 <title>Creating the bash and sh symlinks</title> 3 3 <?dbhtml filename="createfiles.html" dir="chapter06"?> 4 4 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 6 order to satisfy these programs, we create the <filename>/bin/bash</filename> 7 and <filename>/bin/sh</filename> symlinks.</para> 9 8 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 10 commands:</para> 11 11 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 && 13 ln -s bash /bin/sh</userinput></screen></para> 13 14 14 15 </sect1> -
chapter06/gzip-inst.xml
r54eee9df r4bc6304 5 5 6 6 <para><screen><userinput>./configure --prefix=/usr && 7 cp gzexe.in gzexe.in.backup&&7 cp gzexe.in{,.backup} && 8 8 sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in && 9 9 make && -
chapter06/makedev-inst.xml
r54eee9df r4bc6304 2 2 <title>Creating devices</title> 3 3 4 <para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not an archive, so it5 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 5 an archive, so it won't create a directory for you to cd into.</para> 6 6 7 7 <para>Create the device files by running the following commands:</para> 8 8 9 <para><screen><userinput>ln -s /static/bin/bash /bin/bash && 10 cp MAKEDEV-&makedev-version; /dev/MAKEDEV && 9 <para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV && 11 10 cd /dev && 12 11 chmod 754 MAKEDEV</userinput></screen></para> … … 16 15 17 16 <para>If you do not intend to use devpts, run:</para> 18 <para><screen><userinput>./MAKEDEV -v generic && 19 rm /bin/bash</userinput></screen></para> 17 <para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para> 20 18 21 19 <para>If you do intend to use devpts, then run:</para> 22 <para><screen><userinput>./MAKEDEV -v generic-nopty && 23 rm /bin/bash</userinput></screen></para> 20 <para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para> 24 21 25 22 <para>Note that if you aren't sure, it's best to use -
chapter06/man-exp.xml
r54eee9df r4bc6304 9 9 of our programs.</para> 10 10 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>: 12 The version of groff we installed supports SGR (Set Graphics Rendition) 13 escape sequences. In order for our man pages to display properly, we 14 add the R argument to the call for the less pager.</para> 14 15 15 16 </sect2> -
chapter06/man-inst.xml
r54eee9df r4bc6304 8 8 make && 9 9 cp src/man.conf{,.backup} && 10 sed -e '/^NROFF/s/-mandoc/-c -mandoc/' \11 src/man.conf.backup >src/man.conf &&10 sed '/^PAGER/s/-is/-isR/' \ 11 src/man.conf.backup > src/man.conf && 12 12 make install</userinput></screen></para> 13 14 <para>Note: If you wish to disable SGR escape sequences, you should 15 edit the man.conf file and add the <userinput>-c</userinput> argument 16 to nroff.</para> 13 17 14 18 <para>You may want to take a look at the man hint -
chapter06/sysvinit-inst.xml
r54eee9df r4bc6304 11 11 skip it.</para> 12 12 13 <para><screen><userinput>cp src/init.c src/init.c.backup&&13 <para><screen><userinput>cp src/init.c{,.backup} && 14 14 sed 's/Sending processes/Sending processes started by init/g' \ 15 15 src/init.c.backup > src/init.c</userinput></screen></para> -
chapter06/utillinux-inst.xml
r54eee9df r4bc6304 6 6 util-linux package, FHS-compliant, run the following.</para> 7 7 8 <para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup&&8 <para><screen><userinput>cp hwclock/hwclock.c{,.backup} && 9 9 sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ 10 10 hwclock/hwclock.c.backup > hwclock/hwclock.c && -
index.xml
r54eee9df r4bc6304 5 5 <!ENTITY book SYSTEM "book/book.xml"> 6 6 7 <!ENTITY version "2002090 1">8 <!ENTITY releasedate "September 1st, 2002">7 <!ENTITY version "20020902"> 8 <!ENTITY releasedate "September 2nd, 2002"> 9 9 10 10 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
Note:
See TracChangeset
for help on using the changeset viewer.