aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* changelog: add entries for change todayXi Ruoyao2022-11-221-0/+34
|
* changelog: remove a buggy revision="systemd"Xi Ruoyao2022-11-221-1/+1
|
* coreutils: update test failureXi Ruoyao2022-11-221-5/+4
| | | | | | | 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.
* wheel: build the wheel archive of wheel itselfXi Ruoyao2022-11-221-10/+38
| | | | | This avoids running "python3 setup.py install" (indirectly), which may not work correctly in the future with Python 3.12.
* package updatesXi Ruoyao2022-11-221-15/+15
| | | | | | | | - 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
* gcc: remove --disable-decimal-float from pass 1 and 2Xi Ruoyao2022-11-222-2/+0
| | | | | | | | | | 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.
* Straighten out capitalization, correct a few grammatical errors,David Bryant2022-11-215-57/+56
| | | | | improve English idiom, clarify a few things, remove superfluous verbiage, etc.
* Merrriam-Webster says "alongside" is one word. Clarified some muddledDavid Bryant2022-11-181-9/+9
| | | | | | | 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.
* Rectify a redundancy/explain how to say tcl. Use correct spelling forDavid Bryant2022-11-181-5/+5
| | | | | the Binutils package. Patch up an ungrammatical sentence (the plural subject "instructions" requires pural verbs).
* Clarify the description of the -G option.David Bryant2022-11-181-1/+1
|
* Corrected a grammatical error: the subordinate clause "that offers ..."David Bryant2022-11-181-4/+4
| | | | | | | 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.
* chapter08: fix minor grammar issuesXi Ruoyao2022-11-181-3/+3
|
* pkgmgt: reword the description of cfg files handlingXi Ruoyao2022-11-181-2/+3
| | | | Let's not miss the point...
* chapter08: reword description of compiler optimizationsXi Ruoyao2022-11-181-6/+14
| | | | | | | | | 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.
* glibc: Decapitalize nsswitch.confXi Ruoyao2022-11-181-1/+1
| | | | | In UNIX file names are case-sensitive. You cannot capitialize it even if it appears in a title.
* kernfs: reword the description of bind mountXi Ruoyao2022-11-181-2/+2
| | | | | | | | | | | "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.
* kernfs: remove a false noteXi Ruoyao2022-11-181-2/+1
| | | | | | | | | | | | | | | | | | | | | 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.
* chroot: reword how chroot worksXi Ruoyao2022-11-181-3/+4
| | | | | | | | | | | | | | | 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.
* glibc: it should be --disable-werror, not --disable-WerrorXi Ruoyao2022-11-181-1/+1
| | | | | | | | | | | | | 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'.
* Correctd the spelling of "Werror" -- it's "-Werror" in GCC, butDavid Bryant2022-11-171-2/+2
| | | | | it's "--disable-error" in Glibc. Thanks to Thomas Trepl for spotting my mistake.
* Correct capitalization, spelling, grammar, and idiom. Tighten theDavid Bryant2022-11-173-29/+30
| | | | prose by removing some circumlocutions.
* Corrected grammar, spelling, and idiom in chapter 7.David Bryant2022-11-164-58/+54
|
* Shadow: /usr/include/shadow is an installed dirPierre Labastie2022-11-161-2/+2
|
* Fix type (replace a / by a \ as line continue maker)Thomas Trepl (Moody)2022-11-161-1/+1
|
* Tidy up some spacing issuesBruce Dubbs2022-11-153-12/+12
|
* Update currency for sysvinitwqBruce Dubbs2022-11-141-0/+4
|
* packages: also use &pypi-src; for Jinja2 and MarkupSafeXi Ruoyao2022-11-121-2/+2
| | | | The md5sums are not changed.
* changelog: fix a ticket numberXi Ruoyao2022-11-121-1/+1
|
* stylesheets: add Simplified Chinese for lfs-l10nXi Ruoyao2022-11-121-0/+22
| | | | It should not affect English book.
* Package updates and a fix.Bruce Dubbs2022-11-118-52/+110
| | | | | | | | | | | | | 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.
* wheel: switch download URLXi Ruoyao2022-11-112-3/+4
| | | | | 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.
* systemd: fix and simply the command to disable systemd-sysupdateXi Ruoyao2022-11-041-7/+3
| | | | | | | "systemd disable" seems a typo... And we don't need the ".timer" suffix because these .service units are tied to the .timer units.
* Edit English idiom. punctuation, etc., throughout chapter 6.David Bryant2022-11-035-29/+29
|
* Update to systemd-252.Douglas R. Reno2022-11-036-10/+30
|
* Edited for clarity, punctuation, and English idiom.David Bryant2022-11-031-16/+16
|
* grub: copy the "no tuning" warning from BLFSXi Ruoyao2022-11-031-0/+11
| | | | It's reported that a GRUB build with CFLAGS=-O2 is broken.
* Update to openssl-3.0.7 (Security update).Bruce Dubbs2022-11-013-5/+9
|
* glibc: fix parallel build issue with make-4.4Xi Ruoyao2022-11-012-9/+10
| | | | | | | | | | | | | We only need a one-line change in upstream fix (because we don't use "make --shuffle"). Add it as a sed for both Chapter 5 and Chapter 8. Note that the "minimal" sed would be '/MAEKFLAGS :=/s/r/ -r/'. I included an additional ')' so it won't modify "-r" again to "- -r". Tested "make" and "make check" on a x86_64 with -j8 and an arm64 with -j24. Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=2d7ed98add14
* Package updates.Bruce Dubbs2022-10-314-44/+97
| | | | | | | | | | | | | | | | | | Update to iana-etc-20221025. Update to tzdata-2022f. Update to Python3-3.11.0. Update to procps-ng-4.0.1. Update to man-pages-6.01. Update to man-db-2.11.0. Update to make-4.4. Update to linux-6.0.6. Update to libffi-3.4.4. Update to inetutils-2.4. Update to expat-2.5.0. Note: I had to run glibc in Chapter 8 at -j1 to avoid an apparant race condition. With a little more investigation I may be able to find a better solution.
* toolchaintechnotes: reword the explanation about rebuild libstdc++ in gcc pass 2Xi Ruoyao2022-10-311-4/+7
|
* toolchaintechnotes: fix a typoXi Ruoyao2022-10-301-1/+1
|
* toolchaintechnotes: reword the reason "cc-lfs not usable on pc"Xi Ruoyao2022-10-301-5/+22
| | | | | | | | The problem is not "gcc building system doesn't know cc-lfs can run on pc", but "cc-lfs really cannot run on pc". Let's stop anyone from thinking about "why not just tell the gcc building system the fact".
* Corrected spelling here and there. Regularized capitaization of packageDavid Bryant2022-10-304-38/+38
| | | | names, corrected idiom / punctuation, and removed extraneous verbiage.
* Patched up an ambiguous sentence. Thank you for pointing it out, Xi.David Bryant2022-10-301-1/+1
|
* Orthography: spell cross-compile and its derived forms consistently.David Bryant2022-10-281-56/+59
| | | | | Add some paragraph breaks to enhance readability. Correct English idiom here and there. Capitalize titles consistently, fix punctuation.
* Standardize spelling of "cross-compile" and its derivatives. Clean upDavid Bryant2022-10-281-15/+14
| | | | English idiom. Remove some superfluous verbiage here and there.
* Cleaned up English idiom just a trifle.David Bryant2022-10-281-2/+2
|
* Typo fix from rhubarbpieguyDouglas R. Reno2022-10-271-1/+1
|
* Dependencies: util-linux can use libcap-ng, not libcap.Ken Moffat2022-10-271-2/+4
|
* errata: some reword about security advisoryXi Ruoyao2022-10-231-5/+7
| | | | | | | | | Do not use "whether there are any known security vulnerabilities" because it's highly unlikely there was none. Many people just build LFS for an experiment, then they don't need to maintain their system. The maintaining is only necessary for a real desktop or server system.