Commit Graph

605 Commits

Author SHA1 Message Date
Thomas Trepl
b06f452753 Automatic merge of trunk into multilib 2025-01-03 00:30:11 +01:00
Pierre Labastie
6528f75720 Use <userinput> as elements for lfs user and group
The preceding commit uses <systemitem> elements to mark the lfs
user and group in commands. Unfortunately, this change the
rendering in html, because now lfs appears in an italic font.
Using <userinput remap='group'> or <userinput remap='user'> allows
parsing the XML for jhalfs, but does not change the html rendering.
2025-01-02 09:12:52 +01:00
Xi Ruoyao
8e8be5f129 Use lfs-user entity in commands
I still think it's cleaner for jhalfs to just use a different user name
(for example "lfs1") if the user lfs already exists.  This will allow
jhalfs to easily use a different user name.
2025-01-02 09:12:52 +01:00
Thomas Trepl
5eb7810e57 Automatic merge of trunk into multilib 2024-07-01 00:30:20 +02:00
Bruce Dubbs
e91edadd00 Package and format updates.
Update to iana-etc-20240612.
Update to bc-6.7.6.
Update to man-pages-6.9.1.
Update to linux-6.9.7.
Update to sysklogd-2.5.2.
Update to shadow-4.16.0.
Update to systemd-256.1.
Update to setuptools-70.1.1.

Also change the formatting of options '-Dsomething' to '-D something'.
2024-06-30 10:40:41 -05:00
Thomas Trepl
d9c8637857 Automatic merge of trunk into multilib 2024-06-23 00:30:20 +02:00
Xi Ruoyao
201aa93863
Move punctuation/comma into quotes for <xref>s
We are using American rule for punctuation/comma vs. quotes.  We've
fixed most cases but not <xref>s.
2024-06-22 11:43:31 +08:00
Thomas Trepl
7f3f152cb6 Automatic merge of trunk into multilib 2024-06-15 00:30:33 +02:00
Bruce Dubbs
58180415dd Package updates.
Update to vim-9.1.0478.
Update to iana-etc-20240607.
Update to systemd-256.
Update to python3-3.12.4.
Update to perl-5.40.0.
Update to openssl-3.3.1 (Security fix).
Update to linux-6.9.4.
Update to findutils-4.10.0.
2024-06-14 10:37:53 -05:00
Thomas Trepl
8df847c937 Automatic merge of trunk into multilib 2024-04-28 00:30:25 +02:00
Xi Ruoyao
6e179a9025
changingowner: Add --from lfs for chown root:root commands
So if the user has not set $LFS properly, chown will do nothing instead
of wreak havoc in the host distro.

--from <user> has been available for Coreutils chown since 2000 so we
don't need to raise the host system requirement.
2024-04-27 12:30:10 +08:00
Thomas Trepl
ce45f8d6eb Adopt instruction changes 2024-04-01 14:23:54 +02:00
Thomas Trepl
59e0a47aaa Automatic merge of trunk into multilib 2024-04-01 00:30:20 +02:00
Bruce Dubbs
9b01d1b4ba Package updates.
Update to iana-etc-20240318.
Update to zstd-1.5.6.
Update to util-linux-2.40.
Update to shadow-4.15.1.
Update to pkgconf-2.2.0.
Update to linux-6.8.2.
Update to coreutils-9.5.
2024-03-31 17:10:23 -05:00
Thomas Trepl
2e43fd45f6 Automatic merge of trunk into multilib 2024-02-06 00:30:18 +01:00
Xi Ruoyao
ce11e97f01
kernfs: Use a separate devpts filesystem for chroot environment
IIRC we switched from separate devpts to bind mount, and matched the UID
of tester with the host UID owning the TTY, to satisify the Bash test
suite.  But now we are always using UID 101 for tester and expect to
spawn a PTY for Bash test suite (so when building LFS in a TTY owned by
the root user of the host tester won't be UID 0).  Thus we can switch
back to a separate devpts mount which is cleaner and safer.

And we are already using a separate devpts mount in Chapter 11.
2024-02-06 01:08:42 +08:00
Thomas Trepl
ce6d8f67f6 Automatic merge of trunk into multilib 2024-02-05 00:30:17 +01:00
Bruce Dubbs
1541b7c29f Minor wording update 2024-02-04 12:13:17 -06:00
Xi Ruoyao
7436c28ae4
If we need to create the link target of /dev/shm, make its mode 1777
To match the behavior of a tmpfs mount.  Otherwise non-root user (for
e.g. the tester user) will get errors using Glibc shm functions.
2024-02-04 22:56:04 +08:00
Thomas Trepl
807b061514 Automatic merge of trunk into multilib 2024-02-04 00:30:18 +01:00
Xi Ruoyao
8cf42d4c72
Fix and unify the commands creating the link target of /dev/shm
$(realpath /dev/shm) will return the absolute path of the target of
/dev/shm, thus the command will work for both absolute symlink and
relative symlink.
2024-02-04 03:42:36 +08:00
Thomas Trepl
ac1639c2cc Automatic merge of trunk into multilib 2024-01-31 20:23:41 +01:00
Xi Ruoyao
ee950a5e0d
More <quote> clean up
Use <quote> instead of '"' if possible.  Use <literal>,
<computeroutput>, etc. instead of <quote> if possible.  Replace
<quote>alpha</quote> with a UTF-8 Greek alpha character.

BTW decorate ".link" with <filename class='extension'>.
2024-01-28 20:53:47 +08:00
Xi Ruoyao
81f727aca6
chapter07/python: Work around a puzzling punctuation in quote
Here no file name starts with "python." (including the dot).  Slightly
reword to prevent the punctuation from following the quote or being
quoted.
2024-01-28 17:44:24 +08:00
Thomas Trepl
f6a43f612c Automatic merge of trunk into multilib 2024-01-27 00:30:17 +01:00
Pierre Labastie
360fdfca9c Fix punctuation in quotes, and quote signs
- period and comma inside quotes
- " to <quote>
- some " to <literal> when it is a var value
2024-01-26 18:28:53 +01:00
Thomas Trepl
31a18d0226 Automatic merge of trunk into multilib 2024-01-26 00:30:11 +01:00
Xi Ruoyao
0d76fa268d
chapter07/python: Update the note about optional modules
"Fatal error" is no longer outputted, but "Python requires OpenSSL
1.1.1 or newer" is bad as well because it's not really "required" (at
least in BLFS definition).
2024-01-24 23:40:27 +08:00
Pierre Labastie
c88ec71538 Put back punctuation inside quotes
Reverts part of 811d59db8b.
Looks like "American English prefers that periods and commas be
placed inside closing quotation marks," according to
https://en.wikipedia.org/wiki/American_English
2024-01-24 14:39:09 +01:00
Thomas Trepl
5d2d864a97 Automatic merge of trunk into multilib 2024-01-19 00:30:10 +01:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Thomas Trepl
e97d7877d1 Automatic merge of trunk into multilib 2024-01-12 00:30:10 +01:00
Pierre Labastie
811d59db8b Nitpick on format
- according to our typography, referring to a manual page should be
  <filename>page(x)</filename>
- don't enclose punctuation into quotes
- use <option> for option
2024-01-11 13:52:28 +01:00
Thomas Trepl
9bfff298da Automatic merge of trunk into multilib 2023-12-16 07:03:44 +01:00
Bruce Dubbs
03682b250c Reformat util-linux configure parameters. 2023-12-14 14:16:13 -06:00
Thomas Trepl
49b383e4d8 Automatic merge of trunk into multilib 2023-11-20 00:30:17 +01:00
Xi Ruoyao
01247ac90a
kernfs: Revise command creating the link target in case /dev/shm is a symlink
When /dev/shm is a symlink we need to create its target or some tests
will fail and Python 3 will be misconfigured.  We wrote it as:

    mkdir -pv $LFS/$(readlink $LFS/dev/shm)

But if $LFS/dev/shm is a relative symlink (say ../run/shm), we end up:

    mkdir -pv /mnt/lfs/../run/shm

This command will create /mnt/run/shm, not $LFS/mnt/shm as we expected.
Twist it a little to make it work for both absolute symlinks and
relative symlinks.
2023-11-20 07:23:36 +08:00
Thomas Trepl
d704c058cd Automatic merge of trunk into multilib 2023-11-16 00:30:10 +01:00
Douglas R. Reno
f16cc36c29 Typo fix 2023-11-15 15:25:51 -06:00
Thomas Trepl
aebd449557 Automatic merge of trunk into multilib 2023-11-14 00:30:18 +01:00
Bruce Dubbs
798e18b09f
Minor grammar corrections.
Mistakenly removed the remote WIP branch while it's not fully merged
yet.  Cherry-pick the discarded commit.

(cherry picked from commit 2f3f0e9e813f60a88e9f557842a7b9a50cdec50b)
2023-11-14 00:31:08 +08:00
Xi Ruoyao
95ebbb42b7
chroot: Set MAKEFLAGS and TESTSUITEFLAGS for parallelism 2023-11-13 21:14:19 +08:00
Thomas Trepl
cf9ba3c7fc Automatic merge of trunk into multilib 2023-10-02 08:39:36 +02:00
Xi Ruoyao
0d8322dbe6
createfiles: Remove doubled punctuation 2023-10-02 11:44:21 +08:00
Thomas Trepl
f8a76cb8f3 Automatic merge of trunk into multilib 2023-10-02 00:30:19 +02:00
Bruce Dubbs
25b3c0f720 Package updates and one fix.
Disable building nscd in glibc.
Update to iana-etc-20230929.
Update to vim-9.0.1968.
Update to openssl-3.1.3.
Update to meson-1.2.2.
Update to man-db-2.12.0.
Update to linux-6.5.5.
Update to kmod-31.
Update to kbd-2.6.3.
Update to gettext-0.22.2.
Update to bc-6.7.0.
2023-10-01 13:37:57 -05:00
Thomas Trepl
d3aa932043 Automatic merge of trunk into multilib 2023-10-01 00:30:17 +02:00
Xi Ruoyao
6e11fe2728
createfiles: Add Y2038 info about the traditional {b,u,w}tmp and lastlog files
And utmp does not exist on systemd-based LFS.
2023-09-30 16:12:56 +08:00
Thomas Trepl
b0c238acd2 Automatic merge of trunk into multilib 2023-09-13 00:30:19 +02:00
Pierre Labastie
e0a942748e Make /dev/shm mount and umount verbose
Almost all commands in lfs are verbose. Don't know why these ones
were not.
2023-09-12 19:02:18 +02:00