Commit Graph

352 Commits

Author SHA1 Message Date
Xi Ruoyao
3f20f8151f Base of LFS 12.4 development
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQSR0PV2MB+STX3t3OisqtIOGecQ4wUCZ8f3JwAKCRCsqtIOGecQ
 4+vBAP4m5DlGkEHTHExQRbYAI6l1w18yJBP9liqaTdcdX95DaQEAnEpiQAsm9HYu
 VOTChmtEVw0xLHa1yBem34CtfjWlmgE=
 =foa7
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQSR0PV2MB+STX3t3OisqtIOGecQ4wUCZ/4zeAAKCRCsqtIOGecQ
 4zA0AP41OJ3DubdzqFTTFJlL4+HjN94jGfpDtIxn5R0MSP/O7QD9GtR8Dvqau1UB
 pZVIKclr0b88z362+DAqqhEt5xz5fQ0=
 =Bo9E
 -----END PGP SIGNATURE-----

Merge tag 'r12.3' into xry111/arm64

Prepare for arm64-12.3.
2025-04-15 18:22:27 +08:00
Bruce Dubbs
d35857c7bb Package updates and mic fixes.
Update to zstd-1.5.7.
Update to systemd-257.3.
Update to shadow-4.17.3.
Update to setuptools-75.8.1.
Update to linux-6.13.4.
Update to kmod-34.
Update to inetutils-2.6.
Update to gettext-0.24.
Update to flit_core-3.11.0.

Remove $LFS/{bin,lib,sbin} from the chown commands
  This applies to 'Section 4.3. Adding the LFS User'

Remove static library in sysklogd
  Accomplished with adding --disable-static to the configure options.
2025-02-27 11:07:22 -06:00
Xi Ruoyao
6a86cb1052
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2025-02-18 20:56:06 +08:00
Xi Ruoyao
7622257836
Move fixup for $LFS owner/permssion to mounting the new partition 2025-01-13 11:25:01 +08:00
Douglas R. Reno
bb5bf3b9d8 Minor typo fixes 2025-01-12 12:13:06 -06:00
Xi Ruoyao
39679232f7
Move the explanation of umask 022 from settingenviron to aboutlfs
Explain it once we use it.  Also fix an error in the text (we don't make
files executable, we only make directories searchable).
2025-01-12 11:56:30 +08:00
Xi Ruoyao
68b56a3c33
creatingminlayout: Set the owner and permission of $LFS
The host distro may have an insane default for root_owner and/or
root_perms in /etc/mke2fs.conf, so let's make it sane on our own.  Note
that MKE2FS_CONFIG=/dev/null makes mke2fs refuse to run so we cannot
suppress the host mke2fs.conf.
2025-01-11 23:34:23 +08: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
Xi Ruoyao
2addc6422c
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-09-27 01:07:12 +08:00
Bruce Dubbs
67056c18a5 Typo 2024-08-29 10:02:14 -05:00
Xi Ruoyao
f4f58d4368
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-08-29 14:17:58 +08:00
Xi Ruoyao
68c63ae3af
Some About SBUs page reword 2024-08-27 12:32:31 +08:00
Bruce Dubbs
eae9237225 Add more detail to the About SBUs page. 2024-08-26 17:59:31 -05:00
Xi Ruoyao
04befc5e3c
aboutsbus: Add power profile info 2024-08-26 02:49:01 +08:00
Xi Ruoyao
328eb6f3bb
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-02-27 23:52:31 +08:00
Xi Ruoyao
ea93c117f2
treewide: Use <ulink> instead of <filename> for man pages
"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.
2024-01-26 01:59:06 +08:00
Xi Ruoyao
9f894d5ab9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-01-20 02:08:26 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +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
Xi Ruoyao
73d91ac621
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-12-05 13:12:55 +08:00
Douglas R. Reno
655450075c Setting Environment: minor tweak 2023-11-22 16:08:30 -06:00
Xi Ruoyao
a0a803c0b0
settingenviron: Set MAKEFLAGS for parallelism in ~lfs/.bashrc 2023-11-13 21:09:47 +08:00
Xi Ruoyao
64e8131dd8
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-08-27 11:06:02 +08:00
Anton Mosich
2d6ced8aec
Fix small typos 2023-08-03 22:55:17 +08:00
Xi Ruoyao
83ce6e3161
Merge branch 'trunk' into xry111/arm64 2023-02-28 11:48:28 +08:00
Bruce Dubbs
4990283f08 Typo 2023-02-12 14:19:14 -06: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
Xi Ruoyao
a747ea2a67
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-12-09 15:53:09 +08: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
Xi Ruoyao
9974e9b18c
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-10-31 14:58:31 +08:00
David Bryant
4e2645304c Standardize spelling of "cross-compile" and its derivatives. Clean up
English idiom. Remove some superfluous verbiage here and there.
2022-10-28 11:37:59 -05:00
David Bryant
13702d9f05 Cleaned up English idiom just a trifle. 2022-10-28 10:10:10 -05:00
Xi Ruoyao
96323bd9fc
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-10-02 21:49:39 +08:00
Xi Ruoyao
aa9ade1fba
more clarification of "log in as lfs user"
And, don't recommended to "log in as lfs through a DM" anymore: if you
log in through a DM then start a terminal emulator, the first shell in
the emulator is often a non-login shell.  It's not something we expect.
2022-09-29 18:26:52 +08:00
Xi Ruoyao
199d14c997
addinguser: don't say "log in as lfs user"
"log in" is a specifically defined action on UNIces.  When you log in
as a user, an entry will be added into /run/utmp and /var/log/wtmp.
But when you switch to lfs with "su", this won't happen.

"man su" also describes "--login" as:

    Provide an environment similar to what the user would expect had
    the user logged in directly.

It's "similar to" logged in, not "really" logged in.

So, don't say "log in" or the users may assume they must really log in
as lfs in a VT or DM.
2022-09-29 17:52:11 +08:00
David Bryant
ef93b66006 Adjust English idiom and clarify directions (chapters 4.5 and 4.6). 2022-09-27 13:42:07 -05:00
David Bryant
ec7b046623 Tweaked English idiom / clarified directiions in chapters 4.3 and 4.4. 2022-09-27 13:07:58 -05:00
David Bryant
97f4747aaf Tweak introduction as Pierre Labastie suggested (chapter 4.2). 2022-09-27 12:11:23 -05:00
Xi Ruoyao
7344a7fc19
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-09-25 13:18:16 +08:00
David Bryant
2ed0e93787 Refine verbiage in chapter 4.2 (Creating a limited directory layout). 2022-09-23 15:52:30 -05:00
David Bryant
1cb4a25b36 Tweak English idiom in chapter 4.1 (Introduction) 2022-09-23 15:16:02 -05:00
Xi Ruoyao
f4facc457f
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-09-24 00:06:19 +08:00
Pierre Labastie
c37e846f4b Replace tabs with spaces 2022-09-11 18:42:58 +02:00
Xi Ruoyao
4d8854a5e3
arm64: don't create /lib64
The path to dynamic linker is /lib/ld-linux-aarch64.so.1, no hardcoded
/lib64.  It's much better than x86_64 or MIPS64 IMO.

[As a LoongArch contributor & reviewer: we really should have removed
this stupid "64" in the early development stage of LoongArch ELF ABI.]
2022-08-26 20:31:32 +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
8a572f06bb
don't chown $LFS/sources to lfs (#5018) 2022-03-05 16:30:43 +08:00
Xi Ruoyao
490dc15317
remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not
contain '/tools/bin'.  So "+h" is useless in chroot as the newly
installed tools always replace the temporary counterpart at the same
location.

"+h" in chapter4/settingenviron.xml is kept deliberately.  Currently
$LFS/tools/bin only contains programs prefixed with
"x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will
ever ship a program named with such prefix.  So it may seems that we can
remove this "+h" as well.  However, the situation may change in future
and we can take this oppertunity to teach the advantage and disvantage
of bash hash feature.
2022-02-05 20:48:27 +08:00
Xi Ruoyao
0fc1b27b09
move the ln note back to chap 5 glibc
It was moved to chapter 4 during merged-/usr update.  However the ln
commands in chapater 4 are "trivial", so move it back to chapter 5 glibc
where we start to use a "different syntactic version" of it.
2021-11-12 00:41:02 +08:00