Commit Graph

239 Commits

Author SHA1 Message Date
Xi Ruoyao
85ec218a0d
Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng 2022-10-18 16:27:54 +08:00
David Bryant
294ea05cd1 Clarified verbiage here and there. Used the present perfect tense instead
of the simple present to make the order of events clearer.
2022-10-17 16:12:16 -05:00
David Bryant
86f386863e Websters spells it up-to-date. Added one word for clarity. 2022-10-17 15:46:25 -05:00
Xi Ruoyao
dd61c7728a
Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng 2022-10-01 16:03:20 +08:00
David Bryant
2646c571d7 Clarify "mounting a partition" (chapter 2.7). 2022-09-27 12:21:38 -05:00
Xi Ruoyao
0ea3431d66
Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng 2022-09-26 22:03:23 +08:00
Xi Ruoyao
ad9fbd14ae
mounting: create &fstab; conventional entity and use it 2022-09-24 18:56:45 +08:00
Xi Ruoyao
f001ece905
creatingfilesystem: Refine the condition where a FS is needed
For example, a swap partition does not contain any FS.  And, if you want
to clone a partition, you can use

    dd if=/dev/<old-partition> of=/dev/<new-partition>

then it's unnecessary to create a FS on new-partition before operation.
This is sometimes faster than creating a new FS, mounting both
partition, then "cp -av" if the old-partition contains many small files.
2022-09-24 18:48:50 +08:00
David Bryant
50e70dbc1f Clarify verbiage in chapter 2.6 (Setting the $LFS Variable). 2022-09-23 14:08:34 -05:00
David Bryant
9011f2d242 Clean up grammar / idiom in chapter 2.7 (Mounting the New Partition) 2022-09-22 16:17:48 -05:00
David Bryant
4ca7966259 Corrected grammar / idiom / punctuation.
Also added an introduction explaining what a file system does.
2022-09-22 15:24:38 -05:00
David Bryant
58f92b0647 Correcting idiom / syntax again, based on feedback from Bruce & Doug. 2022-09-22 14:31:32 -05:00
Xi Ruoyao
b00063f2a5
partition: update the description for /tmp with tmpfs 2022-09-23 02:03:38 +08:00
Xi Ruoyao
fc472c83d9
partition: update examples for /opt
We don't use /opt for GNOME, so use Texlive as another example.
2022-09-23 01:40:51 +08:00
Xi Ruoyao
67756f3ec2
fix a typo 2022-09-23 01:31:26 +08:00
David Bryant
6612f5441b Corrected English idiom and punctuation in chapter 2.4 (new partition). 2022-09-21 16:16:00 -05:00
David Bryant
925414842a Corrected English idiom, fixed some typos in chapter 2.3 (Stages) 2022-09-21 15:53:38 -05:00
David Bryant
17a807a99f Fix minor typo in chapter 2 "Host System Requirements". 2022-09-21 15:41:34 -05:00
Xi Ruoyao
6c952e3e40
Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng 2022-09-19 14:38:55 +08:00
Xi Ruoyao
fb66c4c583
some http -> https changes 2022-09-05 09:52:05 +08:00
Xi Ruoyao
12033127e1
Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng 2022-09-01 19:27:01 +08:00
Xi Ruoyao
cfaf7273f8
parition: mention EFI system partition
Text only change.  Simply refer to BLFS.
2022-08-28 20:06:00 +08: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
8b37712d8b
cross-ng: document host dependencies for kernel cross compilation 2022-02-27 00:01:39 +08:00
Xi Ruoyao
e534de8823
cross-ng: don't create and mount fs in chapter 2
This procedure is deferred to the end of chapter 6 in cross edition.
2022-02-27 00:01:39 +08:00
Xi Ruoyao
cb518e03d7
cross-ng: remove kernel from hostreqs 2022-02-27 00:01:39 +08:00
Xi Ruoyao
1ea79fdb82
cross-ng: chapter 7: set up lo interface 2022-02-27 00:01:39 +08:00
Xi Ruoyao
40875a9574
cross-ng: chapter 2: mounting a partition on $LFS is not needed 2022-02-26 23:43:12 +08:00
Xi Ruoyao
febac5114b
cross-ng: chapter 7: adjust introduction for cross build 2022-02-26 23:43:11 +08:00
Xi Ruoyao
d6006ef769
relax host system requirements
A requirement on Glibc is not needed at all.  It's enough once
$LFS_TGT-* is runnable.  A test on Alpine (using musl as libc) has
practically proved this.

We'd raised binutils and GCC requirements mostly for Glibc.  But now
Glibc is cross compiled by our cross toolchain with latest GCC and
binutils release, the host tools really does not matter.  In the Glibc
building process only two .c files are build with BUILD_CC (the C
compiler from the host), and they are highly conservative (mostly
unchanged for years).

Binutils does not have too much requirement on host GCC & Binutils:
there is even a Binutils commit in this week fixing a build failure with
GCC-4.2!

So the most strict limitation comes from GCC.  GCC requires host GCC to
support ISO C++ 11 so GCC >= 4.8 is needed.  And both GCC-4.8 and latest
GCC-11.2 claims a requirement for Binutils-2.12 (for x86_64) or 2.13.1
(for 32-bit x86), so we make minimal Binutils version 2.13.1.

And, host bzip2 is never used now: the only .tar.bz2 files are elfutils
and python docs.  They are not decompressed before entering chroot.
2022-02-19 10:29:47 +08:00
Pierre Labastie
408fb7828b Forgotten eol space in chapter02 2021-09-07 23:03:22 +02:00
Pierre Labastie
a04b192f50 Remove spaces at end o lines - chapter02 2021-09-07 22:46:24 +02:00
Xi Ruoyao
33ca65cbb0
hostreq: fix a hardcoded chapter number 2021-08-18 14:10:43 +08: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
Xi Ruoyao
34fe7e07cd decorate usernames with <systemitem>
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12071 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-12-26 15:51:54 +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
Xi Ruoyao
e4bdfc541e chapter02/hostreqs: remove hard-pagebreak which is no longer needed (with fop-2.1 on higgs)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-23 13:32:20 +00:00
Pierre Labastie
bfab1b2d25 remove last ch-system-xxx id's in chapter 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11980 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 20:51:45 +00:00
Bruce Dubbs
b99b7d3a6e Update text in cross2 branch Chapter 2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11912 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 17:25:59 +00:00
Pierre Labastie
eb8890f68b Update "building LFS in Stages" for the new layout
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11904 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-08 19:36:30 +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
210fc78f29 Update to ncurses-6.2.
Update to man-pages-5.05. 
Update to linux-5.5.3.tar.xz. 
Update timing and disk usage.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11748 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-02-13 18:06:22 +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
Douglas R. Reno
4e32649dfe Minor typo fix
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11647 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-08-03 00:57:21 +00:00
Bruce Dubbs
fb8cc475c8 Update to linux-5.2.5.
Update to kbd-2.2.0. 
Update to glibc-2.30. 
Update to man-pages-5.02. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11646 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-08-03 00:08:28 +00:00
Bruce Dubbs
637d44bfdf REmove reference to IDE disk drive
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11633 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-07-10 16:11:50 +00:00
Bruce Dubbs
7c6d7821b9 Revert minimum glibc version to previous value
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-02-14 19:14:27 +00:00
Douglas R. Reno
b1a5123dfd Update host system requirements to match glibc-2.29
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11514 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-02-08 23:01:00 +00:00
Bruce Dubbs
a2717960c1 Update to bison-3.3.1.
Update to glibc-2.29. 
Update to libpipeline-1.5.1. 
Update to linux-4.20.6. 
Update to meson-0.49.1. 
Update to mpfr-4.0.2. 
Update to ninja-1.9.0. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11506 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-02-01 23:36:05 +00:00
Bruce Dubbs
76db8d6fa1 Add LANG to vim test instructions.
Ensure grep tests run to completion.
Run gcc tests in Chapter 6 as a non-privileged user.

Move shadow to before gcc so the gcc tests can 
use su to run as a non-privileged user.

Add perl Configure options in Chapter 5 to ensure
no host system libraries are used.

Update minimum make version to 4.0 required by glibc-2.28.
Update bzip2 url to a new location. 
Update to linux-4.17.14. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-08-12 16:35:49 +00:00