Commit Graph

1656 Commits

Author SHA1 Message Date
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
bfb0cbae18
os-release: Automatically update RELEASE_TYPE 2024-12-21 11:56:57 +08:00
Xi Ruoyao
6d36d72175
hostreq: Bump min-kernel to 5.4
4.19 LTS is EOL now.
2024-12-12 14:37:56 +08:00
Xi Ruoyao
1e180412f9
hostreq: Raise min-kernel to 4.19
4.14 is no longer supported by the upstream since Jan 2024.
2024-02-02 09:03:51 +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
1b807632f6
Add --no-cache-dir into pip3 wheel commands for Python modules 2023-09-03 00:48:20 +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
Bruce Dubbs
87fbad76f1 Package updates.
Update to iana-etc-20230524.
Update to MarkupSafe-2.1.3 (Python Module)
Update to linux-6.3.5.
Update to openssl-3.1.1.
Update to meson-1.1.1.
Update to diffutils-3.10.
Update to bc-6.6.0.
2023-06-03 17:48:12 -05:00
Bruce Dubbs
140e9a445d q 2023-03-04 16:26:31 -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
00588180ee
kernfs: modernize the explanation for bind mounting /dev
If you are using a "modern" distro (with devtmpfs and a modern udev
implementation), a bind mounting is actually not needed because you can
mount devtmpfs anyway.  The only reason for bind mounting is to be
compatible with old host distros where /dev is a directory containing
many static device nodes, or is a tmpfs (not same as devtmpfs) popluated
by bootscript or an old udev (modern udev implementations, including
eudev and systemd-udev used by LFS, strictly requires a devtmpfs on
/dev).

So update the explanation to match the status quo.
2022-10-01 15:14:22 +08:00
Xi Ruoyao
543c94cb9c
libstdc++ "stage 3" is not rebuilt for the same reason as "stage 2"
I'm pretty sure "stage 2" libstdc++ (installed in ch6) is already fully
featured.  The reason to rebuild the stage 3 libstdc++ (or entire
stage 3 gcc) is same as the reason to rebuild every packages in multiple
chapters: to "settle down" it.

Merge the content of
https://www.linuxfromscratch.org/lfs/faq.html#rebuild-ch8 into the book
as an explanation.
2022-09-30 17:10:06 +08:00
Xi Ruoyao
f427ba2336
kernel: adjust the instruction for mounting /boot
LFS and the host may use different /boot configuration, so do not assume
they'll share a /boot partition (two different /boot partition or only one
with separate /boot are possible).
2022-09-25 15:16:23 +08:00
Xi Ruoyao
ad9fbd14ae
mounting: create &fstab; conventional entity and use it 2022-09-24 18:56:45 +08:00
Xi Ruoyao
ca22630e6a
provide revision-specific wget-list-$(REV) file
It's irrational to force a sysv builder to download systemd, or vice
versa.  But we cannot simply make wget-list specific for revision: IIRC
the wget-list file with all packages in either revision is used by some
scripts on rivendell.  So we keep wget-list as is, and provide a new
wget-list-$(REV) file which only contains the packages for one revision.
2022-06-21 15:22:27 +08:00
Xi Ruoyao
421e0cfcda
add convenience entities for users root and lfs 2022-04-21 14:02:44 +08:00
Pierre Labastie
12b2639e0a Set general.ent for development
I had set it to release for testing only
2021-09-22 23:28:01 +02:00
Pierre Labastie
e8393f732a short-version for systemd release is "stable-systemd" 2021-09-22 23:23:16 +02:00
Pierre Labastie
01183c0cb7 general.ent: Add conditionals for release, rc, dev
WIP, needs some testing. But committing to be able to checkout
trunk and back...
2021-09-22 23:23:16 +02:00
Pierre Labastie
2198b5efa0 Remove eol spaces not caught by merge 2021-09-22 23:23:06 +02:00
Pierre Labastie
7146c9dc0c Make generic-version the same on both books
Needs to make a conditional for errata
2021-09-22 23:19:23 +02:00
Pierre Labastie
8891a507db Remove a duplicated entity in general.ent 2021-09-22 23:19:23 +02:00
Pierre Labastie
4467b18d3f Add a conditional entity for sysv/systemd
This removes the need for versiond, and other xxxd entities. Those
entities will be removed in the next commits.
2021-09-22 23:11:52 +02:00
Pierre Labastie
d887817942 Remove a false comment in general.ent
jhalfs does not need anything in "copyrightdate", so that
&ndash; can be used if desired
2021-09-20 13:12:01 +02:00
Pierre Labastie
4458e3d2d8 Remove eol spaces 2021-09-07 23:05:44 +02:00
Bruce Dubbs
78b97ceed4 Point Section 11,4 to right version of BLFS
When we point to BLFS, we need to point to the right version:
sysV or systemd.  That's done with <phrase> and some symlinks on
rivendell.
2021-08-31 23:05:37 -05:00
Xi Ruoyao
d182d836a4
mark automake as new, and fix an example in general.ent 2021-08-18 01:30:25 +08:00
Douglas R. Reno
14e0b47d28 Add text regarding security advisories. 2021-07-19 12:34:21 -05:00
DJ Lucas
28bdcfe0ef Clean up of dependencies.xml and add runtime deps. 2021-07-10 03:25:23 -05:00
Xi Ruoyao
6218cdb962
use https for anduin 2021-05-24 19:19:04 +08:00
Xi Ruoyao
61707b171e
secure LFS URL 2021-04-23 18:57:29 +08:00
Xi Ruoyao
48a3830433
use https for rivendell, to skip a redirection 2021-04-08 15:28:45 +08:00
Bruce Dubbs
8d2cfcb49f Change patches locations from www to rivendell. 2021-04-07 15:23:07 -05:00
Xi Ruoyao
5948380997
automatically generate version info from git HEAD 2021-04-07 01:01:01 +08:00
Xi Ruoyao
7504dd5226 use HTTPS for most downloads (again)
The previous HTTPS commit is reverted unintentionally :(


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12172 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-27 17:21:05 +00:00
Douglas R. Reno
6f6e362ab2 Update to OpenSSL-1.1.1k
Update to attr-2.5.1
Uodate to acl-2.5.1
Update to linux-5.11.10
Update to bc-3.3.4
Update to man-pages-5.11
Update to expat-2.3.0

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12170 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-26 06:52:29 +00:00
Xi Ruoyao
03a41fd0cd binutils: use -j1 for make install
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12166 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-17 16:30:50 +00:00
Bruce Dubbs
fa510ae7f4 Update to vim-8.2.2604.
Update to iana-etc-20210304. 
Update to zstd-1.4.9. 
Update to sysvinit-2.99. 
Update to linux-5.11.6. 
Update to libcap-2.49. 
Update to iproute2-5.11.0. 
Update to e2fsprogs-1.46.2. 
Update to bison-3.7.6. 
Update to bc-3.3.3. 
Update to attr-2.5.0. 
Update to acl-2.3.0. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12164 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-14 20:42:56 +00:00
Pierre Labastie
2772bb9c30 Fix a header file in python, so that #include <python3.9/Python.h> works.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12153 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-02 22:02:06 +00:00
Xi Ruoyao
d221e7186d URLs update
In generals.ent, all "common" URLs are changed to HTTPS.

Bzip2 homepage is added.

Elfutils, kbd, and util-linux homepage are modified to a "real" homepage,
instead of a downloading directory.

http://psmisc.sourceforge.net/ redirects to GitLab.

Now most URLs are HTTPS.  The remaining "unsafe" download locations:
file-5.39.tar.gz (it can be downloaded from GitHub, but the package from
GH needs autoreconf -fi), self-hosted packages at anduin, and patches at
http://www.linuxfromscratch.org/ (should be fixed after gimli migration).



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12152 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-02 02:42:12 +00:00
Bruce Dubbs
be00886450 Fix date
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12150 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-01 15:36:26 +00:00
Pierre Labastie
5595514967 fix grub to prevent generation of a huge binary blob for lzma compression
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12143 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-20 21:02:59 +00:00
Bruce Dubbs
d15bbff7a3 Fix a glibc bug that causes issues with chrooted applications.
Update to bc-3.3.0. 
Update to openssl-1.1.1j. 
Update to meson-0.57.0. 
Update to linux-5.10.17. 
Update build times and sizes.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12138 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-19 04:04:03 +00:00
Bruce Dubbs
0b52f7babf Update to util-linux-2.36.2.
Update to tar-1.34. 
Update to psmisc-23.4. 
Update to procps-ng-3.3.17. 
Update to man-db-2.9.4. 
Update to eudev-3.2.10. 
Update to elfutils-0.183. 
Update to e2fsprogs-1.46.1. 
Update to bc-3.2.7. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12134 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-14 21:27:29 +00:00
Bruce Dubbs
0cbc052aff Update to iana-etc-20210202.
Update to inetutils-2.0. 
Update to libcap-2.48. 
Update to binutils-2.36.1. 
Update to linux-5.10.13. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12131 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-07 01:10:56 +00:00
Xi Ruoyao
be4dfa98fa systemd: fix versiond
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12114 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-03 01:34:53 +00:00
Bruce Dubbs
305ab2a4fa Update to bc-3.2.6.
Update to glibc-2.33. 
Minor change to mountfs boot script. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-02 16:15:16 +00:00
Douglas R. Reno
1788b5e294 Correct the versiond number
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12106 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-31 22:09:00 +00:00
Bruce Dubbs
0f8a1b64f8 Update to vim-8.2.2433.
Update to iana-etc-20210115. 
Update to bc-3.2.5. 
Update to e2fsprogs-1.46.0. 
Update to autoconf-2.71. 
Update to tzdata-2021a. 
Update to perl-5.32.1. 
Update to libcap-2.47. 
Update to bison-3.7.5. 
Update to binutils-2.36. Requires building zlig in Chapter 6.
Update to linux-5.10.12. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12105 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-31 21:48:14 +00:00
Douglas R. Reno
beaca0e3e5 Update to tcl-8.6.11
Update to meson-0.56.2
Update to linux-5.10.7
Update to tar-1.33
Update to kmod-28
Update to findutils-4.8.0
In kmod, add zstd support for compressed kernel modules
Typo fix for Cleaning Up
Document GDBM test failure

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12097 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-16 07:59:34 +00:00