Commit Graph

8493 Commits

Author SHA1 Message Date
David Bryant
ee65db4626 Fix a grammatical error (subject and verb must agree in number) and
improve English idiom.
2022-12-06 11:59:03 -06:00
David Bryant
7c263b6db0 Clean up capitalization. Improve English idiom. Use the present
perfect tense when appropriate. Replace "dlopening" with "opening
dynamically linked libraries" ... "dlopen" may be a Linux command,
but that doesn't make it a verb in English.
2022-12-06 11:33:02 -06:00
David Bryant
79ac947fda Correct capitalization. Correct spellig: "test suite" is two words.
Use the personal relative pronoun "who" when referring to a person.
2022-12-06 11:04:37 -06:00
David Bryant
9aff8c4523 Corrected capitalization and modified some descriptions of libraries,
for consistency of style.
2022-12-06 10:27:41 -06:00
Bruce Dubbs
a1bc9df91f Update to linux-6.0.11 (Security update). 2022-12-03 14:37:04 -06:00
Bruce Dubbs
38311c3ea3 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-12-01 17:41:14 -06:00
Bruce Dubbs
82e98d0b0e Package updates.
Update to iana-etc-20221122.
Update to xz-5.2.9.
Update to tzdata-2022g.
Update to texinfo-7.0.1.
Update to tcl-8.6.13.
Update to meson-0.64.1.
Update to linux-6.0.10.
Update to gawk-5.2.1.
2022-12-01 17:40:16 -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
Pierre Labastie
aea16f699e Sync shadow "rounds" parameter to blfs
Otherwise, As Xi has noticed, the password set for root at the end
of lfs may use the value 5000 for rounds, and not be changed, even
if later the number of rounds is increased.
2022-11-25 09:30:45 +01:00
Xi Ruoyao
9a23a75c5d
Revert "shadow: add spaces around —"
This reverts commit 0298c764d8.

We don't use spaces around &mdash anywhere else in the book.
2022-11-23 11:18:29 +08:00
David Bryant
30f3041a7d Rewrote a cumbersome sentence to make it clearer. Capitalized the
names of packages. Clarified verbiage in re PIE & ASLR. Improved the
description of SSP, and tightened it up. Clarified the instructions
for running tests concurrently. Modified descriptions of tests that
fail. Patched up punctuation. Spelled "set up" correctly: "setup" is
a noun. The phrasal verb used here is spelled as two words. Use the
word "directives" to describe "#include" and similar preprocessor
instructions. Add periods to some otherwise complete sentences.
2022-11-22 16:19:04 -06:00
Bruce Dubbs
66d32d7e29 word choice 2022-11-22 15:19:47 -06:00
Xi Ruoyao
a66cd7f020
shadow: update desc of libsubid
I was using the transitive verb "process" here, not the noun.  Use
another word to avoid the ambiguity.  Also add "and groups" because
there is also subgid alongside subuid.
2022-11-23 01:21:39 +08:00
Xi Ruoyao
0298c764d8
shadow: add spaces around —
IMO it makes the rendering prettier.
2022-11-23 01:04:04 +08:00
Xi Ruoyao
9af3d7f77d
shadow: fix (clarify?) the consequence of missing "users" group
To me "has been created" is not correct.  Or maybe it's some advanced
usage of English I don't understand...
2022-11-23 00:59:43 +08:00
Xi Ruoyao
31e9ff9527
gcc-pass1: housekeeping after --disable-decimal-float removal 2022-11-23 00:58:21 +08:00
Xi Ruoyao
1dd37a1807
changelog: add entries for change today 2022-11-22 23:40:38 +08:00
Xi Ruoyao
3845081b00
changelog: remove a buggy revision="systemd" 2022-11-22 23:34:06 +08:00
Xi Ruoyao
26e3001b7f
coreutils: update test failure
sort-NaN-infloop no longer fails now, it seems covered up by PIE or SSP.

test-getlogin keeps failing in Bruce's build.  Not sure how to reproduce
the failure deterministically.
2022-11-22 23:31:52 +08:00
Xi Ruoyao
e3187f4895
wheel: build the wheel archive of wheel itself
This avoids running "python3 setup.py install" (indirectly), which may
not work correctly in the future with Python 3.12.
2022-11-22 18:24:26 +08:00
Xi Ruoyao
e354e58462
package updates
- update to linux-6.0.9
- update to libpipeline-1.5.7
- update to xz-5.2.8
- update to man-db-2.11.1
- update to mpfr-4.1.1
2022-11-22 18:24:25 +08:00
Xi Ruoyao
f01f8a56da
gcc: remove --disable-decimal-float from pass 1 and 2
We need to enable decimal float here or MPFR will be built w/o decimal
float support.  Then 2 of 183 tests will be skipped, and this will also
cause an ICA issue.

Q: Why we need decimal float in pass 1?
A: We need pass-1 GCC with decimal float support to build decimal float
routines in pass-2 libgcc.
2022-11-22 18:22:53 +08:00
David Bryant
54948b710c Straighten out capitalization, correct a few grammatical errors,
improve English idiom, clarify a few things, remove superfluous
verbiage, etc.
2022-11-21 16:13:06 -06:00
David Bryant
651f491b51 Merrriam-Webster says "alongside" is one word. Clarified some muddled
verbiage. Used the subjunctive mood once. "Test suite" is two words, not
one. Patched some unidiomatic English. Used the plural "headers" when
discussing ELF objects. Used singular verbs to describe "gprofng", for
consistency with other items.
2022-11-18 15:43:45 -06:00
David Bryant
d6346a7e9b Rectify a redundancy/explain how to say tcl. Use correct spelling for
the Binutils package. Patch up an ungrammatical sentence (the plural
subject "instructions" requires pural verbs).
2022-11-18 14:44:18 -06:00
David Bryant
ea90fca7bf Clarify the description of the -G option. 2022-11-18 13:14:57 -06:00
David Bryant
cc197d00ce Corrected a grammatical error: the subordinate clause "that offers ..."
modifies the plural noun "libraries"; it must use a plural verb.
Clarified how many "configure" options Readline uses. Tightened the
prose, and used the definite article in lieu of the indefinite article,
because only one readline.pc file can possibly be the "correct" one.
2022-11-18 12:35:53 -06:00
Xi Ruoyao
7115c88406
chapter08: fix minor grammar issues 2022-11-18 14:29:26 +08:00
Xi Ruoyao
f8b1860631
pkgmgt: reword the description of cfg files handling
Let's not miss the point...
2022-11-18 14:13:12 +08:00
Xi Ruoyao
b1c8283fe7
chapter08: reword description of compiler optimizations
We don't recommend customizing optimizations, but we use optimizations
provided by package default or release build mode.

Reword the paragraph so the people won't be puzzled once they see
"--enable-optimizations" in Python, or "--buildtype=release" (to prevent
unoptimized build) in BLFS meson commands.
2022-11-18 13:57:47 +08:00
Xi Ruoyao
1cc301fbb3
glibc: Decapitalize nsswitch.conf
In UNIX file names are case-sensitive.  You cannot capitialize it even if
it appears in a title.
2022-11-18 13:25:38 +08:00
Xi Ruoyao
940769457b
kernfs: reword the description of bind mount
"Duplicated copy" is wrong IMO.  If you copy A to B, B won't be changed
when you modify A.  But if you bind mount A to B, B will reflect any
change made to A.

Again copy something from mount(2):

    A bind mount makes a file or a directory subtree visible at another
    point within the single directory hierarchy.
2022-11-18 13:13:37 +08:00
Xi Ruoyao
2f9498afa4
kernfs: remove a false note
Things are a little tricky:

1. If the host is "modern" (any desktop distro after 2013), the kernel
   supports devtmpfs and the host udev will do adjustments to the
   devtmpfs.  All instances of devtmpfs shares the same content so we'll
   see the work of both the kernel and the host udev in chroot.
2. If the host is old but the kernel supports devtmpfs (i. e. the host
   is not using devtmpfs for its /dev), when we mount devtmpfs on
   $LFS/dev we'll see the work of the kernel in chroot, but not the work
   of udev.  **Building LFS does not need any work of udev.**
3. If the host is very old and the kernel does not support devtmpfs at
   all, we can't mount devtmpfs.

Mounting a devtmpfs will work for 1 and 2, while bind mounting will work
for 1, 2, and 3.  So we use bind mounting here.

I don't want to squash all these details into the book, so just remove
the false statement here.
2022-11-18 12:52:09 +08:00
Xi Ruoyao
f714a8fa3b
chroot: reword how chroot works
Technically chroot command "tells" bash nothing.  It basically calls
chroot("$LFS"), then chdir("/"), then
execve(["/usr/bin/env", "-i", ...]).  The kernel also does not tell bash
something like "hey, the root is now $LFS" but just executes (almost) all
system calls from bash as-if $LFS is /.

The man page of chroot says:

DESCRIPTION
       Run COMMAND with root directory set to NEWROOT.

Just use the same grammar construction here.
2022-11-18 12:40:53 +08:00
Xi Ruoyao
7054cc64ea
glibc: it should be --disable-werror, not --disable-Werror
Please try not to use the "replace" feature of the text editor blindly.

Appendix C of the GNU C Library Reference Manual clearly says:

'--disable-werror'
     By default, the GNU C Library is built with '-Werror'.  If you wish
     to build without this option (for example, if building with a newer
     version of GCC than this version of the GNU C Library was tested
     with, so new warnings cause the build with '-Werror' to fail), you
     can configure with '--disable-werror'.
2022-11-18 12:11:04 +08:00
David Bryant
27601131e4 Correctd the spelling of "Werror" -- it's "-Werror" in GCC, but
it's "--disable-error" in Glibc. Thanks to Thomas Trepl for spotting
my mistake.
2022-11-17 16:14:42 -06:00
David Bryant
091d624df5 Correct capitalization, spelling, grammar, and idiom. Tighten the
prose by removing some circumlocutions.
2022-11-17 12:08:13 -06:00
David Bryant
ebecd08c05 Corrected grammar, spelling, and idiom in chapter 7. 2022-11-16 13:16:35 -06:00
Pierre Labastie
f2dff2db69 Shadow: /usr/include/shadow is an installed dir 2022-11-16 17:46:26 +01:00
Thomas Trepl (Moody)
b9721fd7f0 Fix type (replace a / by a \ as line continue maker) 2022-11-16 08:46:22 +01:00
Bruce Dubbs
89c3f71df2 Tidy up some spacing issues 2022-11-15 00:31:18 -06:00
Bruce Dubbs
8ffb2771fe Update currency for sysvinitwq 2022-11-14 10:31:59 -06:00
Xi Ruoyao
8e8f87ef14
packages: also use &pypi-src; for Jinja2 and MarkupSafe
The md5sums are not changed.
2022-11-12 13:12:18 +08:00
Xi Ruoyao
c4fc75e67c
changelog: fix a ticket number 2022-11-12 00:19:09 +08:00
Xi Ruoyao
7936ffb2c8
stylesheets: add Simplified Chinese for lfs-l10n
It should not affect English book.
2022-11-12 00:05:09 +08:00
Bruce Dubbs
9292384bac Package updates and a fix.
Fix make-4.4 bug.
Update to wheel-0.38.4 (Python Module).
Update to texinfo-7.0.
Update to sysvinit-3.05.
Update to shadow-4.13.
Update to sed-4.9.
Update to meson-0.64.0.
Update to linux-6.0.7.
Update to elfutils-0.188.
Update to bc-6.1.1.
2022-11-11 09:44:13 -06:00
Xi Ruoyao
5347af84cf
wheel: switch download URL
Avoid the necessity to upload a tarball onto anduin.  The URL does not
contain long checksum and it produces a tarball with the same md5sum.
2022-11-11 00:07:42 +08:00
Xi Ruoyao
5156c40031
systemd: fix and simply the command to disable systemd-sysupdate
"systemd disable" seems a typo...

And we don't need the ".timer" suffix because these .service units are
tied to the .timer units.
2022-11-04 10:42:03 +08:00
David Bryant
6dff9ef949 Edit English idiom. punctuation, etc., throughout chapter 6. 2022-11-03 19:29:02 -05:00