Commit Graph

1010 Commits

Author SHA1 Message Date
Xi Ruoyao
7c306241b6
coreutils: Use groupadd/groupdel for creating/removing dummy group
They look better than "echo >>" and "sed -i".  And I think an example
showing how to use groupadd/groupdel is good anyway.  The format of
/etc/group is already shown in chapter 7.
2023-08-09 22:30:52 +08:00
Xi Ruoyao
91f9a174b5
ncurses: Simplify documentation install command 2023-08-09 12:37:52 +08:00
Bruce Dubbs
539f0110b0 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-08-08 16:07:30 -05:00
Bruce Dubbs
45f40e899b Fix sed in pkgconf 2023-08-08 16:07:19 -05:00
Xi Ruoyao
f4835ed6ad
pkgconf: Reword the reason of sed
Specifying --modversion with multiple packages just does not make sense.
The real problem here is it's erroring out even if the multiple
arguments are for the same package.
2023-08-08 08:35:21 +08:00
Bruce Dubbs
fdf01d1943 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-08-07 15:47:37 -05:00
Bruce Dubbs
9b7d651a54 Package updates.
Update to xz-5.4.4.
Update to wheel-0.41.1 (Python Module).
Update to man-pages-6.05.01.
Update to linux-6.4.8.
Update to iana-etc-20230804.
Update to pkgconf 2.0.0.
2023-08-07 15:46:36 -05:00
Xi Ruoyao
4374af9071
dbus: Fix a typo (misusing plural) 2023-08-07 23:00:42 +08:00
Xi Ruoyao
308ec7a37f
dbus: Add --enable-user-session like BLFS
This will install dbus.service and dbus.socket into
/usr/lib/systemd/user.  In a base LFS installation the systemd per-user
daemon is not usable at all, so they may seem useless.  But if we
install them, we can start to use them once systemd is rebuilt with PAM
in BLFS (without rebuilding dbus).
2023-08-03 15:07:06 +08:00
Xi Ruoyao
264a80d60f
udev: Use --no-same-owner for man pages, like systemd
By the way, fix a minor formatting issue in udev-hwdb.8.
2023-08-03 10:10:11 +08:00
Xi Ruoyao
e65bfc4f69
procps: The "free with commit" test failure is fixed now
Link: https://gitlab.com/procps-ng/procps/-/commit/414e33a8afb6
2023-08-02 18:54:42 +08:00
Xi Ruoyao
f40b2e7be5
gcc: Document new test failures with Glibc-2.38
Well, the analyzer failures are introduced by literally *my* Glibc
change [1] and I'll sort them out for GCC 14...

And the ASAN failures seem caused by the introduction of
__isoc23_strtol (the libsanitizer does not know to intercept it).  I'll
test with LLVM once I reach it in BLFS (LLVM is the upstream of
libsanitizer) and make a bug report.

limits-exprparen.c also fails to me, it needs "ulimit -s 65536" instead
of "ulimit -s 32768" in my build but maybe it's caused by my custom
*FLAGS.

[1]:https://sourceware.org/git/?p=glibc.git;a=commit;h=71d9e0fe766a
2023-08-02 14:05:51 +08:00
Xi Ruoyao
7a8fcc3918
glibc: Remove sed and option unneeded with 2.38
--disable-crypt is now the default, and the security fix for 2.37 is
included.
2023-08-02 10:54:44 +08:00
Xi Ruoyao
8ada78d73e
binutils: gprofng man pages are OK now 2023-08-02 10:38:14 +08:00
Bruce Dubbs
be5b2e03fc Package updates:
Update to vim-9.0.1677.
Update to openssl-3.1.2.
Update to man-pages-6.05.
Update to binutils-2.41.
Update to gmp-6.3.0.
Update to glibc-2.38.
2023-08-01 13:52:22 -05:00
Xi Ruoyao
c2ccad14a5
systemd: Add two new symlinks into contents 2023-07-29 10:19:04 +08:00
Xi Ruoyao
57f16783ed
systemd: Add --no-same-owner for man page extraction
Well, I forgot to create the man pages tarball as root, so if we don't
use --no-same-owner the man pages will be owned by UID 1000 :(.

Instead of regenerating the tarball again let's just fix this in the
book.
2023-07-29 09:56:55 +08:00
Xi Ruoyao
7dcd8c782b
systemd: Remove sed unneeded with 254 2023-07-29 09:51:28 +08:00
Bruce Dubbs
6de383a262 Package updates.
Update udev-lfs tarball to remove obsolete
       cdrom rules and references to ISDN devices.
Update to wheel-0.41.0 (Python Module).
Update to tar-1.35.
Update to systemd-254.
Update to meson-1.2.0.
Update to linux-6.4.7.
Update to gcc-13.2.0.
Update to file-5.45.
2023-07-28 19:23:11 -05:00
Xi Ruoyao
d0de26cbe0
gmp: (Optionally) use --host=none-linux-gnu for generic library
This is suggested by GCC maintainer Andrew Pinski in
https://gcc.gnu.org/PR110789.  It's easier than what we've suggested
in the book.
2023-07-27 13:12:50 +08:00
Xi Ruoyao
e9619f650f
Partially revert "man-db: Update known test failures, again"
This partially reverts commit 1053282e5f.

There is actually only one test suite in LFS build even with -k, but on
my complete system there are many test failures with "-k".  I guess some
tests depend on non-LFS packages.

The text change is reverted, but the command change is preserved as
generally we should use -k for any make check command known to fail.
2023-07-21 21:10:47 +08:00
Xi Ruoyao
66fbe7b805
meson and ninja: Kill false tips 2023-07-20 01:09:30 +08:00
Xi Ruoyao
b5acea48a7
man-pages: Remove pages conflicting with libxcrypt 2023-07-18 17:47:26 +08:00
Xi Ruoyao
f24a041cd4
udev: Remove two udev rules requiring a full systemd installation
Or they'll produce some error messages saying "cannot execute
systemd-sysctl or systemd-vconsole-setup".
2023-07-17 10:14:18 +08:00
Xi Ruoyao
4ca4e8b1ba
udev: Fix a typo 2023-07-16 23:29:18 +08:00
Xi Ruoyao
f7c36d049f
udev: Create /usr/{lib,share}/pkgconfig
They are not created in chapter 7.5, so we should create them before
installing files into them.
2023-07-16 13:46:20 +08:00
Xi Ruoyao
cce6c92463
udev: Install man pages from systemd man pages tarball 2023-07-16 12:06:37 +08:00
Xi Ruoyao
13288b9165
SysV: Add MarkupSafe and Jinja2
Jinja2 is needed for building udev from systemd.
2023-07-16 11:12:36 +08:00
Xi Ruoyao
a289860668
Replace eudev with udev from systemd 2023-07-16 11:11:12 +08:00
Xi Ruoyao
1053282e5f
man-db: Update known test failures, again
I was too naive: actually a lot of tests fail with groff-1.23.0 and
they'll show up with "-k".
2023-07-16 00:52:41 +08:00
Xi Ruoyao
fcf943d52e
man-db: Document a test failure (started with groff-1.23.0) 2023-07-16 00:40:49 +08:00
Bruce Dubbs
f00e5f980d Package updates.
Update to iana-etc-20230629.
Update to linux-6.4.3.
Update to  libxcrypt-4.4.36.
Update to groff-1.23.0.
Update to perl-5.38.0.
2023-07-14 22:45:12 -05:00
Xi Ruoyao
c2325070af
shadow: Allow using bcrypt and yescrypt, and use yescrypt as the default
Yescrypt is the current default password hashing algorithm of Fedora
and Debian.  See [1] for its advantage.

Now we have libxcrypt providing the implementation of bcrypt and
yescrypt, we can switch to yescrypt as well.  We also don't need to
adjust the rounds for SHA512 anymore.

[1]:https://www.fedoraproject.org/wiki/Changes/yescrypt_as_default_hashing_method_for_shadow#Detailed_Description
2023-07-03 21:28:36 +08:00
Xi Ruoyao
f4313a75c8
libxcrypt: Fix a typo 2023-07-03 19:36:58 +08:00
Xi Ruoyao
ac5f78c4bf
Merge branch 'trunk' into xry111/libxcrypt 2023-07-02 22:11:05 +08:00
Xi Ruoyao
d6e7cda825
kbd: Simplify the instruction for doc installation 2023-07-01 16:00:45 +08:00
Xi Ruoyao
c727d7e7f7
Add libxcrypt 2023-06-30 04:05:51 +08:00
Xi Ruoyao
bbfb090d2a
glibc: Disable obsolete libcrypt implementation
I've not bothered to write an explanation for --disable-crypt because it
will likely be the default of Glibc-2.38, then we may drop it from the
command lines.
2023-06-30 03:19:20 +08:00
Douglas R. Reno
ce9ec4f126 gettext: Use gettext-version instead of a hardcoded version (which is
now out of date) for /usr/share/gettext-0.21.1
2023-06-23 10:48:45 -05:00
Xi Ruoyao
0fe3bb04a7
Create man page symlinks for awk, cc, pkg-config, and lex 2023-06-21 14:35:58 +08:00
Rahul Chandra
36c4569b9f
Replace pkg-config with pkgconf 2023-06-17 15:14:12 +08:00
Xi Ruoyao
a3bd468940
glibc: Reword the reason to skip test-installation.pl
It won't work even on a "complete LFS system".
2023-06-11 21:20:02 +08:00
Xi Ruoyao
0f18f2b121
housekeeping after min-kernel bump
Update the rationale for min-kernel in hostreqs.  Add a note in
general.ent about the EOL of current min-kernel.  Realign the
backslashes in glibc instructions.
2023-06-05 23:20:48 +08:00
Xi Ruoyao
5e7593e6f0
pkgmgmt: Revert some of reword for "dependency hell" from Bruce
Use "library name" (instead of "library version") for SONAME (for now).
And "conflicting locations" may not be a problem if the symbol is at two
locations but they are exactly same (or ABI compatible).

For the details see lfs-dev discussion.

The current word is still not perfect (we've not defined "the name of a
shared library" at all), so I guess we'll need to make a major revision
for the entire "upgrading issue with shared libraries" thing in the
future.
2023-06-04 19:31:59 +08:00
Pierre Labastie
732ce30389 Remove a remap="configure" attribute in eudev
remap="configure" means it is for configuring the build before
running make (or ninja), not for configuring the system
after the package is installed. We don't have a special attribute
for that.
2023-06-01 17:41:32 +02:00
Bruce Dubbs
360371a30f Minor rewording 2023-05-28 19:57:28 -05:00
Bruce Dubbs
d0da969c43 Reword library conflict paragraph. 2023-05-27 17:07:58 -05:00
Xi Ruoyao
55a29ccad2
pkgmgt: Mention the "dependency hell" issue 2023-05-27 19:05:06 +08:00
Ken Moffat
507bf71541 sysv book: Remove unneeded group sgx from eudev. 2023-05-25 21:27:33 +01:00
Bruce Dubbs
0a7df4c5db Skip a problem test in util-linux. 2023-05-18 19:33:31 -05:00
Bruce Dubbs
fb5f62be63 Speling 2023-05-18 15:33:34 -05:00
Bruce Dubbs
1fde5b2617 Package updates.
Update to util-linux-2.39.
Update to linux-6.3.3.
Update to libcap-2.69.
Update to grep-3.11.
Update to flit_core-3.9.0.
Update to eudev-3.2.12.
2023-05-18 13:36:37 -05:00
Xi Ruoyao
8287b51963
glibc: Revive test failure note about old kernel or CPU
But consolidate them into one informative entry as we cannot really test
the instructions on many old systems.
2023-05-16 11:11:01 +08:00
Xi Ruoyao
70927b9964
gawk: Run the test suite as tester
One test named pma fails if running it as root.
2023-05-15 22:56:49 +08:00
Bruce Dubbs
cd8339aa0b Minor grammar fix 2023-05-13 10:46:29 -05:00
Xi Ruoyao
6d4ba5f08a
gcc: Note some additional test failures 2023-05-13 15:09:44 +08:00
Xi Ruoyao
740ee46aef
systemd: Fix runtime issues exploited by GCC 13 (#5254)
Switch to "meson setup" from the plain "meson" by the way.
2023-05-10 16:26:26 +08:00
Xi Ruoyao
8051256700
psmisc: Run the test suite
It seems the package has provided the test suite since some time point.
2023-05-03 11:21:54 +08:00
Xi Ruoyao
465ada75f3
gcc: Add libhwasan and libstdc++exp into contents and short desc
TODO: HWAsan needs Linux 6.4 (not released yet) and a recent Intel CPU.
So it the kernel and hardware support is available, we may see more
test failures.  I'll try it out on my new system...
2023-05-03 11:15:43 +08:00
Xi Ruoyao
9781ec5bae
gcc: Document the meaning of --disable-fixincludes 2023-05-02 22:49:48 +08:00
Xi Ruoyao
050335d4bd
gcc: Update known test failures for GCC 13 2023-05-02 21:25:09 +08:00
Bruce Dubbs
5336349498 Typo 2023-05-01 22:37:19 -05:00
Bruce Dubbs
04be2abd11 Package updates.
Update to vim-9.0.1503.
Update to iana-etc-20230418.
Update to sysvinit-3.07.
Update to iproute2-6.3.0.
Update to linux-6.3.1.
2023-05-01 12:48:53 -05:00
Bruce Dubbs
a6c73fe5b2 Merge branch 'bdubbs/gcc13' into trunk 2023-05-01 10:50:18 -05:00
Thomas Trepl
a4e48bc4ec Fix double dashes 2023-05-01 16:04:45 +02:00
Thomas Trepl
b0120361f3 Readd configure accidently commented completely. 2023-05-01 16:03:01 +02:00
Thomas Trepl
b371ee7b8c Comment out TIME_T_32_BIT_OK 2023-05-01 11:29:12 +02:00
Bruce Dubbs
bd5b888ad3 Create new branch for gcc13 2023-04-27 10:01:17 -05:00
Xi Ruoyao
ed48f32609
openssl: Clarify the condition when 30-test_afalg.t fails 2023-04-16 20:21:50 +08:00
Xi Ruoyao
e310df86e5
util-linux: Clarify the condition of hardlink failure 2023-04-16 20:21:50 +08:00
Xi Ruoyao
d1cbe535c1
dbus: Enable tests
Though many tests are disabled w/o optional dependencies, we can at
least run a dozen of tests.
2023-04-16 20:21:50 +08:00
Bruce Dubbs
5a98711aa4 Be consistent with library contents. 2023-04-15 14:34:07 -05:00
Xi Ruoyao
fb58db34a7
Revert "libelf: Add libelf.so.1 symlink into contents"
This reverts commit 01a8a15a96.

We don't list the versioned SONAME symlink for any shared libraries.

TODO: should we remove libelf-0.189.so from the list as well?  It sounds
like "libz.so.1.2.13" which is not listed too.
2023-04-16 00:59:27 +08:00
Xi Ruoyao
01a8a15a96
libelf: Add libelf.so.1 symlink into contents 2023-04-15 17:17:52 +08:00
Xi Ruoyao
a4b0c6d60a
eudev: Set /dev/kvm mode to 0660 and tag it "uaccess"
See the parent commit for rationale.
2023-04-10 16:17:17 +08:00
Xi Ruoyao
dfde6640eb
systemd: Set /dev/kvm mode to 0660
The default /dev/kvm mode is 0666 and we consider it "not so safe".
Like Tim said: "I'm also authenticating to my system all the time and
don't do a chmod -R 777 / after every boot."

With this option, the /dev/kvm mode is set to 0660 and it's tagged
"uaccess" so systemd-logind will add an ACL entry for users logged-in
locally.
2023-04-10 16:17:04 +08:00
Xi Ruoyao
e9ab2b3af0
glibc: libanl is a dummy now 2023-04-08 22:16:06 +08:00
Xi Ruoyao
91d8e69d18
glibc: Clarify the reference to POSIX.1b and POSIX.1c
The thread functions are in POSIX.1c, not POSIX.1b.

Both POSIX.1b and POSIX.1c are named "extensions" (plural form).  And
POSIX.1b is titled "Real-time" instead of "Realtime".
2023-04-08 21:47:29 +08:00
Ken Moffat
49f74ce701 Typo reported by rhubarbpieguy. 2023-04-07 22:39:03 +01:00
Xi Ruoyao
fd531b84c9
flit-core: Kill revision='systemd'
I copied from jinja2 and edited the file, but forgot to remove this.
2023-04-01 05:47:17 +08:00
Xi Ruoyao
4e3fe1da0f
whatsnew: Add Flit-core
Also use the Normal Case for Flit-Core in a section title.
2023-04-01 03:42:52 +08:00
Xi Ruoyao
22f0edf6ba
coreutils: Fix a bug in checksum utilities for failure reporting 2023-03-31 22:46:00 +08:00
Xi Ruoyao
0e3eb0bee4
wheel: Remove magic PYTHONPATH=src (unneeded with flit-core) and ...
duplicated pip3 explanation (already in flit-core page).
2023-03-31 22:26:06 +08:00
Xi Ruoyao
af612e9a19
Package updates
Update to linux-6.2.8 (#5230)
Update to xz-5.4.2 (#5233)
Update to coreutils-9.2 (#5232)
Update to libcap-2.68 (#5236)
Update to bc-6.5.0 (#5228)
Update to openssl-3.1.0 (#5227)
Update to texinfo-7.0.3 (#5235)
Update to grep-3.10 (#5234)
Update to tzdata-2023c (#5237)
Update to wheel-0.40.0 (#5229)
Add flit-core-3.8.0
2023-03-31 22:25:35 +08:00
Pierre Labastie
04038ad828 Clarify a sentence in "stripping"
Also fix a typo
Report by Rainer Fiebig
2023-03-31 11:03:18 +02:00
Thomas Trepl
d765208190 Fix typo and copy&paste error 2023-03-30 22:52:50 +02:00
Xi Ruoyao
ad09ba40a1
openssl: Fix a typo, and add a link to OpenSSH issue 2023-03-15 15:00:34 +08:00
Xi Ruoyao
bbaf00d415
openssl: Add a warning about minor version bump and OpenSSH
Let's prevent bad thing from happening when we update to 3.1.0...
2023-03-15 14:17:56 +08:00
Xi Ruoyao
835e40ce16
Adjustments for /dev/pts
1. Declare UNIX98 PTY requirement in host system requirements and check
   it in the script.  All desktop or server distros should have it now,
   but let's stop anyone from building on a embedded distro w/o UNIX98
   PTY early...
2. Use Expect test suite as a guard against mishandled $LFS/dev/pts.
3. No need to test the basic function of Expect in Binutils anymore
   because if ($LFS)/dev/pts is not good, the Expect test suite would
   have failed.
2023-03-08 11:25:48 +08:00
Xi Ruoyao
2efe1e8190
systemd: Document systemd-ac-power
It has been moved to /usr/bin for general use by upstream, so list it in
programs.
2023-03-05 15:20:24 +08:00
Xi Ruoyao
82d6a570b4
libelf: Remove run-native-test failure
It's fixed in 0.189.

(cherry picked from commit 4fd9716e15)
2023-03-05 13:39:23 +08:00
Xi Ruoyao
07b44dd348
make: Run test suite as unprivileged user 2023-03-05 10:57:09 +08:00
Xi Ruoyao
770e789527
Package updates
- Update to systemd-253
- Update to bc-6.3.1
- Update to linux-6.2.2
- Update to procps-ng-4.0.3
- Update to iproute2-6.2.0
- Update to meson-1.0.1
- Update to make-4.4.1
- Update to elfutils-0.189
2023-03-05 10:57:09 +08:00
Xi Ruoyao
55a40437f1
e2fsprogs: Update test failure info
Document the m_assume_storage_prezeroed failure.  The
u_direct_io failure is fixed by
https://github.com/tytso/e2fsprogs/commit/4cda25453f85.
2023-03-02 11:08:37 +08:00
Xi Ruoyao
4049a4b6c8
e2fsprogs: Add configuration section about mke2fs.conf 2023-02-19 20:42:33 +08:00
Xi Ruoyao
3608d06aa8
grub: Add upstream fixes patch for unrecognized ext2/3/4 features (#5219) 2023-02-19 14:30:57 +08: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
Bruce Dubbs
c6550e11c8 Package updates.
Update to iana-etc-20230202.
Update to zstd-1.5.4.
Update to Python3-3.11.2.
Update to e2fsprogs-1.47.0.
Update to dbus-1.14.6.
Update to linux-6.1.11.
Update to libcap-2.67.
Update to bc-6.2.4.
2023-02-11 16:11:35 -06:00
Bruce Dubbs
583156ac09 Combine tcl documentation instructions together. 2023-02-08 20:15:02 -06:00
Xi Ruoyao
ce536f9c9c
openssl: Fix a command to view man page
"ssl.7ssl" is in man7, not man3.
2023-02-08 10:29:24 +08:00
Xi Ruoyao
f405318419
glibc: Note the sed for printf is a security fix
And add a comment about the difference from upstream commit.
2023-02-06 23:59:26 +08:00
Xi Ruoyao
0f4ec3428c
libffi: Remove --disable-exec-static-tramp
It's not needed now since gjs-1.74 supports static trampoline.
2023-02-03 05:48:31 +08:00
Xi Ruoyao
f7b295dee8
libelf: Update test status
While the previously documented test failure is resolved by
binutils-2.40, a new test failure has shown up.
2023-02-03 05:44:28 +08:00
Xi Ruoyao
5f8b7fe1ab
bash: Add the explanation of test output, and document a known failure 2023-02-03 01:33:10 +08:00
Xi Ruoyao
19f4e4d6ea
mpfr: Fix a test case
Normally we don't fix test, but see the comment added into the XML file
for the rationale.

Update the number of tests by the way.
2023-02-02 21:04:40 +08:00
Xi Ruoyao
833f3efc01
glibc: Fix an issue identified upstream 2023-02-02 20:42:20 +08:00
Xi Ruoyao
2d215b5fc8
binutils: remove test failures resolved by upstream 2023-02-02 18:32:18 +08:00
Xi Ruoyao
8ac376e634
binutils: remove more empty man pages 2023-02-02 18:31:20 +08:00
Xi Ruoyao
59a0a3c1af
glibc: remove nss/tst-nss-files-hosts-long failure
It's UNSUPPORTED in chroot now, so we cannot see it in LFS build.
2023-02-02 17:29:38 +08:00
Xi Ruoyao
c6c1a068b9
glibc: Remove a sed useless for 2.37 2023-02-02 15:47:05 +08:00
Xi Ruoyao
b5955260a5
stripping: Add an <important> about updated packages
We've received enough reports for systems with zlib security update
broken by stripping :(.
2023-02-01 20:04:51 +08:00
Xi Ruoyao
59d90df78a
systemd: remove an extra word "both"
It seems introduced unintentionally.  I'm wondering what has happened
with David's text editor :).
2023-01-27 01:45:12 +08:00
Douglas R. Reno
c349b4a2b3 Fix the build of systemd due to the last commit 2023-01-25 15:01:12 -06:00
David Bryant
69854d2a87 Edit systemd chapters for grammar and idiom. 2023-01-25 13:10:44 -06:00
Xi Ruoyao
ea0bc1e803
binutils: remove a trailing punctuation in libsframe desc
to match other descriptions.
2023-01-17 09:59:43 +08:00
Bruce Dubbs
f4ad927972 Really remove libsframe.a 2023-01-16 14:04:19 -06:00
Thomas Trepl
358ed3cd80 Add libsframe.so.0.0.0 to list of online-libs (used by strip itself) 2023-01-16 13:26:15 +01:00
Bruce Dubbs
3b6f5e2c5f Package updates.
Update to iana-etc-20230109.
Update to binutils-2.40.
Update to bc-6.2.2.
Update to linux-6.1.6.
Update to man-db-2.11.2.
Update to mpfr-4.2.0.
Update to ncurses-6.4.
Update to xz-5.4.1.
2023-01-15 13:50:48 -06:00
Thomas Trepl
aea43840d8 Remove obsolete sed no longer required in mpc-1.3.1 2023-01-01 09:34:12 +01:00
Douglas R. Reno
e193e35799 Patch systemd against CVE-2022-4415 2022-12-28 09:52:50 -06:00
David Bryant
7ae2811988 Standardize spelling of "userspace". 2022-12-24 10:00:23 -06:00
David Bryant
9c753b58f1 Improve English idiom and make additional changes, for clarity.
Rephrased a clumsy sentence. Broke a run-on sentence in two.
Used adverbs, and the possessive case, where necessary.
2022-12-20 13:57:22 -06:00
David Bryant
0785a5e6dd Remove redundant verbiage; improve English idiom. 2022-12-20 09:48:03 -06:00
David Bryant
a613960c4b Removed redundant verbiage. Rewrote a very clumsy sentence.
To speak of a difference (implying subtraction) and a factor
(multiplication) as equivalent is confusing at best.
2022-12-20 09:26:41 -06:00
David Bryant
d15c80e1b4 Capitalize package names. Patch up a clumsy sentence. Change an
instance of the imperative mood to the indicative. Improve the
description of the "halt" and "init" programs.
2022-12-19 13:44:36 -06:00
David Bryant
8cde104598 Capitalize the name of the package. Standardize references to
"ext{234}" file systems. Clean up English idiom here and there.
Standardize the spelling of "file system"; unless it's part of a
command or something like that, it should be written as two words.
2022-12-17 14:17:55 -06:00
David Bryant
9bb4939772 Patched clumsy verbiage. Added two items (hardlink, lsfd) to the list
of installed programs. Added (link to setarch) to the five items that
link to setarch. Corrected erroneous description of swapoff. Clarified
some of the "short descriptions". Changed the imperative mood to the
indicative mood, and added an "s" to a couple of possessive nouns.
2022-12-16 16:24:32 -06:00
Xi Ruoyao
c8e374b510
gawk: LN='ln -f' is an overridden make variable, not environment variable
`LN='ln -f' make install` won't work.

The terminlogy "override" is from section 9.5 of "info make".
2022-12-16 15:51:50 +08:00
David Bryant
baf93f520f Capitalized the name of the package. Removed "pwait" from the
Short Descriptions list; it has already beeen dropped from the
Installed Programs list.
2022-12-15 12:44:44 -06:00
David Bryant
59109ad714 Reordered a clumsy sentence. 2022-12-15 12:24:46 -06:00
David Bryant
26954aad8d Correct inconsistency in list of installed programs (awk --> gawk). 2022-12-15 11:07:56 -06:00
Bruce Dubbs
dbaab99694 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-12-15 10:24:33 -06:00
Bruce Dubbs
c9aabf13a1 Package updates and a minor fix.
Ensure a gawk hard link is updated in Chapter 8.
Update to iana-etc-20221209.
Update to vim-9.0.1060.
Update to iproute2-6.1.0.
Update to xz-5.4.0.
Update to bash-5.2.15.
Update to psmisc-23.6.
Update to mpc-1.3.0.
Update to python3-3.11.1.
Update to procps-ng-4.0.2.
2022-12-15 10:23:03 -06:00
David Bryant
0c4501b5b1 Patch capitalization. Substitute "spell-checking" for "spell":
"Spell" can be a noun or a verb, but it's never an adjective.
Clarify the description of "xxd".
2022-12-14 17:36:16 -06:00
David Bryant
3c5ecc9121 "Test suite" is two words. 2022-12-14 08:47:53 -06:00
David Bryant
7699773071 Test suite is two words. Added the definite article where idiomatic. 2022-12-13 10:50:11 -06:00
David Bryant
4ecb5ada8e Changed "behaviour" to "behavior" throughout the LFS book. 2022-12-12 14:44:57 -06:00
David Bryant
258e50e86f Modified list of tc subcommands to match the man page. Note that the
help screen doesn't match the man page. Also, there's an action
("tc chain") in the synopsis section that is not further explained
in the body of man tc. Documentation may be inaccurate.
2022-12-12 11:48:42 -06:00
Xi Ruoyao
c1a6bf9b71
iproute2: ifcfg and routef are gone
Link: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=adddf30cd85fc0191450218905b37a29814d35a2
Link: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=1eaebad2c536b9ef9bd047a45438ae7ed273ee91
2022-12-12 20:24:12 +08:00
David Bryant
75aef881b7 Changed "front-end" to "front end". Webster says the hyphenated
version is an adjective. When "front end" is a noun, as it is here,
it should be spelled as two words.
2022-12-11 16:47:14 -06:00
David Bryant
f07d91ba37 Corrected idiom in section about "arpd". Corrected spelling of "front
end" -- it's twp words, not one. Changed square brackets to parentheses;
square brackets should only be used to delimit editorial remarks. Removed
one definite article referring to the plural; "the" implies a single
object. Changed "amount" to "number". In English, an amount refers to
a continuous quantity, while a number refers to discrete objects (like
networking packetts). Added a qualifier in the description of "ip":
the list of commands is not exhaustive. Modified a few program
descriptons to improve consistency of style. Changed QOS and COS
to QoS and CoS after researching these abbreviations on the internet.
"Quality of Service" and "Class of Service" appear, to me, to be the
most common way of writing these phrases.
2022-12-11 16:29:49 -06:00
Xi Ruoyao
2fe0fd1eb2
grub: HFS and HFS+ are file systems, not files 2022-12-11 16:35:41 +08:00
Xi Ruoyao
85064a128b
grub: fix a typo 2022-12-11 16:33:44 +08:00
David Bryant
abc36486d0 Clarified directions in re: UEFI. Tweaked verbiage to make it more
idiomatic. Clarified meaning of configure options. Made several minor
revisions in program descriptions to improve readability. Added a
little explanatory material. Changed imperative mood to indicative
mood where that was appropriate.
2022-12-10 14:56:15 -06:00
David Bryant
9729cec83d Corrected description of what the package does: groff processes both
text and images. Patched English idiom. Added a little information
about Pinyin (Chinese spelled like English) and grap (an old Unix
command for creating graphs).
2022-12-10 12:56:35 -06:00
David Bryant
2da001c127 Clarified the description of what the programs in this package do.
Added a note about xargs. Corrected English idiom.
2022-12-10 11:37:17 -06:00
David Bryant
daad59ec7b Improved the description of "cmp". 2022-12-10 06:58:31 -06:00
Xi Ruoyao
b46fa02ee0
coreutils: fix a typo 2022-12-10 14:50:10 +08:00
Xi Ruoyao
20d6b70237
libffi: style "libffi" (library name) with XML tag
As we are using "Libffi" for package name, I guess "libffi" (lower case)
means the library.  So decorate it like how we handle other library
names.
2022-12-10 14:23:40 +08:00
David Bryant
f8ac129f73 Corrected English idiom throughout. Clarified the description of
the package. Modified some program descriptions to improve their
accuracy, or to correct clumsiness of style.
2022-12-09 15:45:13 -06:00
David Bryant
75d64be391 Improve English idiom. Use the indicative mood. 2022-12-09 14:27:24 -06:00
Xi Ruoyao
02912947e8
perl: use "MAJOR.MINOR" instead of "Major.Minor", and explain "patch level"
We are already using "MAJOR" and "MINOR" in OpenSSL, do the same here.

The semantic versioning documentation (https://semver.org/) always use
"patch level", not "Patch level".  But let's explain it a little to
prevent puzzling people.
2022-12-09 16:05:26 +08:00
Xi Ruoyao
4640b37d96
ninja: style "ninja" (for the program) with <command>
Or the mix up of "ninja" and "Ninja" will seem puzzling...
2022-12-09 15:40:14 +08:00
Xi Ruoyao
30f5283fab
python: style "libffi.so" correctly 2022-12-09 15:38:15 +08:00
Xi Ruoyao
3c07bb9488
libtool: libldtl is for dynamic loading, not dynamic linking
On wikipedia, "dlopen" redirects to "dynamic loading" and there is a
specific warning:

"Dynamically loaded library" redirects here. Not to be confused with
dynamically linked library.
2022-12-09 15:35:05 +08:00
David Bryant
a3ebe8aa2b Corrected capitalization of the package name. This was hard to do
because some references appear to refer to the program itself, and
not to the package. Corrected English idiom here and there.
2022-12-08 17:23:07 -06:00
David Bryant
d9883060de Capitalized references to the package. Clarified the descriptions of
pip3 -- the pip program processes both commands (e.g., install) and
options (e.g., --no-index). Expressed option / command descriptions
in the iindicative mood. The imperative mood should only be used to
tell the reader what to do, not in explanatory verbiage. Inserted
the definite article here and there. Corrected a misspelled instance
of the indefinite article: we don't say "an utility" because the
initial phoneme in "utility" is pronounced as YOO.
2022-12-08 15:13:28 -06:00
David Bryant
8e751f7319 Added an explanation. Python is a language. python3 is a program.
Inserted the definite article where idiom requires it. Added more
detail to an option description. Broke an extremely long paragraph
into three pieces; cleaned up English idiom and punctuation all the
way through this section. In "Short  Descriptions", inserted periods
where appropriate, and clarified the description of python3, which
is a program, not a language.
2022-12-07 12:54:04 -06:00
David Bryant
e9c46b31c7 Add more details to the descriptiion of what this package does.
Correct capitalizatiom throughout, and tweak English idiom.
2022-12-07 11:10:58 -06:00
David Bryant
8f10e6fa49 Patch up English idiom here and there. 2022-12-06 14:56:58 -06:00
David Bryant
5042efcc2f Fix a grammatical error (subject / verb number). Improve English idiom. 2022-12-06 14:45:38 -06:00
David Bryant
67dfc3b371 Revert a previous change; -des is actually three options, -d, -e, & -s.
Thanks to Pierre for pointing this out.
2022-12-06 14:07:23 -06:00
David Bryant
8199f8e631 Removed some circomlocutions. Made "option" singular; "des" only
appears once. Improved idiom ("as shown below"). "command line" is
two words; "front end" is two words. "Swiss Army" is a trademark;
it should be caputalized.
2022-12-06 12:55:34 -06:00
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
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
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 &mdash;"
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 &mdash;
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
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
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
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
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
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
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
Douglas R. Reno
172185a9f7 Update to systemd-252. 2022-11-03 14:33:43 -05:00
Xi Ruoyao
2c8cb1743e
grub: copy the "no tuning" warning from BLFS
It's reported that a GRUB build with CFLAGS=-O2 is broken.
2022-11-03 10:02:44 +08:00
Xi Ruoyao
d45f50d26d
glibc: fix parallel build issue with make-4.4
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
2022-11-01 11:05:05 +08:00
Bruce Dubbs
3f4304998a Package updates.
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.
2022-10-31 18:42:52 -05:00
Xi Ruoyao
347bbda9c1
man-pages: update the number of provided pages for 6.00
$ find -name '*.[0-9]' | wc -l
2438
2022-10-18 17:15:51 +08:00