Commit Graph

320 Commits

Author SHA1 Message Date
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
Pierre Labastie
d3b4bb3f8b Add role="nodump" to examples in "About SBUs"
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11468 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-09-10 20:40:33 +00:00
Bruce Dubbs
25332b5e97 Add comments to the kernel section to change the unwinder option.
Update to linux-4.14.10.  
Update to coreutils-8.29.  
Remove old footer from non-chunks book. 
Make spacing between "Chapter" and digit non breaking. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11344 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-12-31 16:56:07 +00:00
Bruce Dubbs
3aee2ac264 Update to eudev-1.10
Add a sentence about possible make failrues if j > 1 in SBU section.
Add -j1 to acl, attr, and vim tests.
Update kernel options description when building the kernel.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10728 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-08-24 05:05:28 +00:00
Bruce Dubbs
448e2261fb Text changes:
Move about LFS to Chapter 2.
  Add intor to Chapter 4.
  Explain why specific symlinks are needed in Chapter 6.
  Remove obsolete reference to old glibc version.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10575 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-06-11 04:57:05 +00:00
Bruce Dubbs
c5be6346ba Update several URLs in Chapter 3.
Fix typo in Chapter 5, libstdc++.
Removed obsolete reference to acinstall in automake section.
Removed obsolete reference to sbu home page in Chapter 4.
Update installed programs for gdbm. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-05-02 16:22:07 +00:00
Bruce Dubbs
cd591a6b32 Change all refereces to hda to sda
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10218 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-03-24 19:23:53 +00:00