Commit Graph
326 Commits
Author SHA1 Message Date
Xi Ruoyao ea93c117f2 treewide: Use <ulink> instead of <filename> for man pages
"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.
2024-01-26 01:59:06 +08:00
Pierre Labastie 7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Pierre Labastie 811d59db8b Nitpick on format
- according to our typography, referring to a manual page should be
  <filename>page(x)</filename>
- don't enclose punctuation into quotes
- use <option> for option
2024-01-11 13:52:28 +01:00
Douglas R. Reno 655450075c Setting Environment: minor tweak 2023-11-22 16:08:30 -06:00
Xi Ruoyao a0a803c0b0 settingenviron: Set MAKEFLAGS for parallelism in ~lfs/.bashrc 2023-11-13 21:09:47 +08:00
Anton Mosich 2d6ced8aec Fix small typos 2023-08-03 22:55:17 +08:00
Bruce Dubbs 4990283f08 Typo 2023-02-12 14:19:14 -06:00
Bruce Dubbs 7c92d6dd82 Update build times an sizes.
This update changes the default number of cores used to build
packages to 4.  A section is also added to host requirements
to recommend a minumum number of cores and memory size.
2023-02-12 13:43:45 -06:00
David Bryant da6e70fffe Edited Pierre's recent additons,to improve English idiom. Also corrected
capitalization of a title.
2022-11-26 12:26:21 -06:00
Pierre Labastie 295e337887 Add note and warning about /usr/lib64 2022-11-26 09:27:58 +01:00
David Bryant 4e2645304c Standardize spelling of "cross-compile" and its derivatives. Clean up
English idiom. Remove some superfluous verbiage here and there.
2022-10-28 11:37:59 -05:00
David Bryant 13702d9f05 Cleaned up English idiom just a trifle. 2022-10-28 10:10:10 -05:00
Xi Ruoyao aa9ade1fba more clarification of "log in as lfs user"
And, don't recommended to "log in as lfs through a DM" anymore: if you
log in through a DM then start a terminal emulator, the first shell in
the emulator is often a non-login shell.  It's not something we expect.
2022-09-29 18:26:52 +08:00
Xi Ruoyao 199d14c997 addinguser: don't say "log in as lfs user"
"log in" is a specifically defined action on UNIces.  When you log in
as a user, an entry will be added into /run/utmp and /var/log/wtmp.
But when you switch to lfs with "su", this won't happen.

"man su" also describes "--login" as:

    Provide an environment similar to what the user would expect had
    the user logged in directly.

It's "similar to" logged in, not "really" logged in.

So, don't say "log in" or the users may assume they must really log in
as lfs in a VT or DM.
2022-09-29 17:52:11 +08:00
David Bryant ef93b66006 Adjust English idiom and clarify directions (chapters 4.5 and 4.6). 2022-09-27 13:42:07 -05:00
David Bryant ec7b046623 Tweaked English idiom / clarified directiions in chapters 4.3 and 4.4. 2022-09-27 13:07:58 -05:00
David Bryant 97f4747aaf Tweak introduction as Pierre Labastie suggested (chapter 4.2). 2022-09-27 12:11:23 -05:00
David Bryant 2ed0e93787 Refine verbiage in chapter 4.2 (Creating a limited directory layout). 2022-09-23 15:52:30 -05:00
David Bryant 1cb4a25b36 Tweak English idiom in chapter 4.1 (Introduction) 2022-09-23 15:16:02 -05:00
Pierre Labastie c37e846f4b Replace tabs with spaces 2022-09-11 18:42:58 +02:00
Xi Ruoyao e286d8db14 decorate the references to root and lfs user
The references already correctly decorated are not changed because "if
it's not broken don't fix it".
2022-04-21 14:12:43 +08:00
Xi Ruoyao 8a572f06bb don't chown $LFS/sources to lfs (#5018) 2022-03-05 16:30:43 +08:00
Xi Ruoyao 490dc15317 remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not
contain '/tools/bin'.  So "+h" is useless in chroot as the newly
installed tools always replace the temporary counterpart at the same
location.

"+h" in chapter4/settingenviron.xml is kept deliberately.  Currently
$LFS/tools/bin only contains programs prefixed with
"x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will
ever ship a program named with such prefix.  So it may seems that we can
remove this "+h" as well.  However, the situation may change in future
and we can take this oppertunity to teach the advantage and disvantage
of bash hash feature.
2022-02-05 20:48:27 +08:00
Xi Ruoyao 0fc1b27b09 move the ln note back to chap 5 glibc
It was moved to chapter 4 during merged-/usr update.  However the ln
commands in chapater 4 are "trivial", so move it back to chapter 5 glibc
where we start to use a "different syntactic version" of it.
2021-11-12 00:41:02 +08:00
Pierre Labastie 707c4d32ad Remove spaces at end o lines - chapter04 2021-09-07 22:44:10 +02:00
Douglas R. Reno d7a942197e Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00
Pierre Labastie 430a8de69f Clarify some explanations about the minimal directory layout in chap 4
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12169 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-24 15:02:32 +00:00
Bruce Dubbs a2d41cf2c4 Minor text changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12046 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-09-04 15:51:18 +00:00
Xi Ruoyao df77b24d1d env: set CONFIG_SITE to prevent potential contamination from host distro
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12045 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-09-04 07:38:44 +00:00
Xi Ruoyao c0c616a439 fix some typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12029 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-19 15:31:33 +00:00
Bruce Dubbs 6a06eaf844 Update to man-pages-5.08.
Update to libpipeline-1.5.3. 
Update to iproute2-5.8.0. 
Update to linux-5.8.1. 
Fix typo in settingenviron.xml.
Use entity in perl configuration instructions.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12022 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-15 03:54:28 +00:00
Bruce Dubbs ba82c18266 Update to gettext-0.21.
Update to binutils-2.35. 
Update to gcc-10.2.0. 
Update to check-0.15.1. 
Update to bison-3.7.1. 
Update to util-linux 2.36.0. 
Update to libcap-2.42. 
Update to linux-5.7.12. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12007 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-04 20:14:32 +00:00
Xi Ruoyao d860650913 bc: new homepage
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11976 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 13:40:45 +00:00
Pierre Labastie dbb91224d9 Typo
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11975 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 08:11:36 +00:00
Xi Ruoyao ee0638f3ab environment: decorate a remaining lfs username
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11974 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 07:52:44 +00:00
Xi Ruoyao 3a38c46bd2 environment: make bash.bashrc note more clear
Decorate usernames with XML labels.
Modify the command so it only applies to systems with bash.bashrc.
Correct the time point which we stop to use lfs user.
Tell the audience that bash.bashrc is useless on LFS.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 07:47:08 +00:00
Bruce Dubbs 686c88ba6b Add a note about /etc/bash.bashrc used in some distros.
Tweak css for appendix/dependencies.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11972 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 01:21:48 +00:00
Pierre Labastie 3022304849 Remove an unneeded file
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11971 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-21 16:12:37 +00:00
Xi Ruoyao d66640ef1c fix a typo
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11952 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-18 04:22:40 +00:00
Thomas Trepl 70f0882d4c No /lib64 on i686
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11941 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-14 21:03:26 +00:00
Bruce Dubbs 79524a0c69 Text updates for cross2 Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11914 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 23:10:16 +00:00
Bruce Dubbs ee714d385e Text update to cross2 Chapter 4.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11913 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 21:26:11 +00:00
Pierre Labastie a97aa3dd0b Fix test for symlink when setting PATH
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11839 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-05-06 14:58:26 +00:00
Pierre Labastie b454589fa6 Avoid having /bin in lfs' PATH if the build distro has merged
/bin and /usr/bin

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11837 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-05-06 13:02:47 +00:00
Pierre Labastie efcb393343 Make the new book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-05-03 21:02:51 +00:00
Bruce Dubbs df43be1530 Textual updates thanks to Kevin Buckley.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11800 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-29 20:04:31 +00:00
Pierre Labastie afcfd745ae Remove unused files and make
idref's more regular

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11746 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-02-09 20:50:38 +00:00
Bruce Dubbs bec76acde9 Add upstream fixes patch for bash.
Add a note about possible problems when changing
to the lfs user.

Update to vim-8.1.2361. 
Update to meson-0.52.1. 
Update to elfutils-0.178. 
Update to iproute2-5.4.0. 
Update to libffi-3.3. 
Update to tcl-8.6.10. 
Update to man-pages-5.04. 
Update to perl-5.30.1. 
Update to linux-5.4.1. 
Update to bc-2.3.2. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11702 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-12-01 18:01:37 +00:00
Bruce Dubbs 148806797d grammar
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11668 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-09-03 20:50:55 +00:00
Xi Ruoyao 09163e546d building temp system is ch 5, next one of ch 4
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11667 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-09-03 19:27:48 +00:00