diff --git a/Makefile b/Makefile index 6247b294d..52034319c 100644 --- a/Makefile +++ b/Makefile @@ -212,7 +212,7 @@ dist: $(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV) $(Q)rm -f lfs-$$( &external; - None + + scdoc (for man pages) + diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog index 558230238..d3a7ed661 100644 --- a/bootscripts/ChangeLog +++ b/bootscripts/ChangeLog @@ -1,3 +1,9 @@ +2024-08-23 Xi Ruoyao + * In console, detect FB console by checking /sys/class/graphics/fbcon + instead of fb0. The latter does not exist if CONFIG_FB=n, but + CONFIG_DRM_FBDEV_EMULATION=y can support a FB console without + CONFIG_FB. + 2024-07-12 Xi Ruoyao * In mountvirtfs, recreate /dev/fd correctly if it's already created by the initramfs. diff --git a/bootscripts/lfs/init.d/console b/bootscripts/lfs/init.d/console index a5338cc71..9409e4757 100644 --- a/bootscripts/lfs/init.d/console +++ b/bootscripts/lfs/init.d/console @@ -47,7 +47,7 @@ case "${1}" in log_info_msg "Setting up Linux console..." # Figure out if a framebuffer console is used - [ -d /sys/class/graphics/fb0 ] && use_fb=1 || use_fb=0 + [ -d /sys/class/graphics/fbcon ] && use_fb=1 || use_fb=0 # Figure out the command to set the console into the # desired mode diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f3eafe40d..7f58d2d3b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,61 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2024-08-23 + + + [xry111] - Update to lfs-bootscripts-20240823, to fix an + issue causing VT 2-6 not affected by the FONT= setting in + /etc/sysconfig/console. + + + + + + 2024-08-17 + + + [bdubbs] - Update to setuptools-72.2.0. Fixes + #5542. + + + [bdubbs] - Update to kmod-33. Fixes + #5540. + + + [bdubbs] - Update to binutils-2.43.1. Fixes + #5543. + + + [bdubbs] - Update to linux-6.10.5. Fixes + #5541. + + + + + + 2024-08-15 + + + [bdubbs] - Update to iana-etc-20240806. Addresses + #5006. + + + [bdubbs] - Update to pkgconf-2.3.0. Fixes + #5537. + + + [bdubbs] - Update to python3-3.12.5. Fixes + #5538. + + + [bdubbs] - Update to linux-6.10.4. Fixes + #5539. + + + + 2024-08-05 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 614ea5c9d..c807fa15d 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -294,9 +294,6 @@ Lz4-&lz4-version; - - glibc-2.39-upstream_fix-1.patch - diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 47ca6d1b4..1ae75c712 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -135,7 +135,7 @@ cd build Those switches allow GCC to compile programs with some hardening security features (more information on those in - the in chapter 8) by default. The + the in chapter 8) by default. They are not strictly needed at this stage, since the compiler will only produce temporary executables. But it is cleaner to have the temporary packages be as close as possible to the final ones. diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index b39844f75..039310ce8 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -134,10 +134,11 @@ cd build LDFLAGS_FOR_TARGET=... Allow libstdc++ to - use the shared libgcc being - built in this pass, instead of the static version that was built in GCC - pass 1. This is necessary to support C++ exception - handling. + use the libgcc being + built in this pass, instead of the previous version built in + . The previous version cannot + properly support C++ exception handling because it was built + without libc support. diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml index ca02058b5..181153d1d 100644 --- a/chapter08/coreutils.xml +++ b/chapter08/coreutils.xml @@ -122,7 +122,7 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ remove < /dev/null. --> Now run the tests (using /dev/null for the standard input, or two tests may be broken if building LFS in a - graphical terminal or a session in SSH or GNU Screen etc. because the + graphical terminal or a session in SSH or GNU Screen because the standard input is connected to a PTY from host distro, and the device node for such a PTY cannot be accessed from the LFS chroot environment): diff --git a/chapter08/kmod.xml b/chapter08/kmod.xml index 6c875caed..5b4ab4fb3 100644 --- a/chapter08/kmod.xml +++ b/chapter08/kmod.xml @@ -43,12 +43,13 @@ Prepare Kmod for compilation: -./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-openssl \ - --with-xz \ - --with-zstd \ - --with-zlib +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-openssl \ + --with-xz \ + --with-zstd \ + --with-zlib \ + --disable-manpages The meaning of the configure options: @@ -74,6 +75,16 @@ + + + --disable-manpages + + + This option disables generating the man pages which + requires an external program. + + + Compile the package: diff --git a/chapter09/systemd-custom.xml b/chapter09/systemd-custom.xml index 742983e44..bb8285b31 100644 --- a/chapter09/systemd-custom.xml +++ b/chapter09/systemd-custom.xml @@ -102,7 +102,7 @@ EOF q /tmp 1777 root root 10d - The type field, q, discusses creating a subvolume with quotas which + The type field, q, indicates the creation of a subvolume with quotas which is really only applicable to btrfs filesystems. It references type v which in turn references type d (directory). This then creates the specified directory if it is not present and adjusts the permissions diff --git a/chapter10/kernel/kernel.version b/chapter10/kernel/kernel.version index dd0026fc1..22cb9e553 100644 --- a/chapter10/kernel/kernel.version +++ b/chapter10/kernel/kernel.version @@ -1 +1 @@ -6.8.9 +6.10.2 diff --git a/chapter10/kernel/systemd.toml b/chapter10/kernel/systemd.toml index cfb8bf8f1..bfe7a1b40 100644 --- a/chapter10/kernel/systemd.toml +++ b/chapter10/kernel/systemd.toml @@ -25,12 +25,12 @@ TMPFS='*' TMPFS_POSIX_ACL='*' CGROUP_SCHED='* ' +revision='systemd' + [RT_GROUP_SCHED] value = ' ' comment = 'This may cause some systemd features malfunction' -revision='systemd' - [DRM_FBDEV_EMULATION] value = ' *' comment = 'If [DRM] is selected as * or M, this must be selected' diff --git a/chapter10/kernel/systemd.xml b/chapter10/kernel/systemd.xml index 9348abd25..f8ededd08 100644 --- a/chapter10/kernel/systemd.xml +++ b/chapter10/kernel/systemd.xml @@ -3,7 +3,7 @@ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -General setup ---> +General setup ---> [ ] Compile the kernel with warnings as errors [WERROR] CPU/Task time and stats accounting ---> [*] Pressure stall information tracking [PSI] @@ -45,8 +45,8 @@ Graphics support ---> < /*/M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> ... [DRM] - # If [DRM] is selected as * or M, this must be selected: - [ /*] Enable legacy fbdev support for your modesetting driver + # If [DRM] is selected as * or M, this must be selected: + [ /*] Enable legacy fbdev support for your modesetting driver ... [DRM_FBDEV_EMULATION] Console display driver support ---> # If [DRM] is selected as * or M, this must be selected: diff --git a/chapter10/kernel/sysv.xml b/chapter10/kernel/sysv.xml index bf2fe9bdd..f3cabda67 100644 --- a/chapter10/kernel/sysv.xml +++ b/chapter10/kernel/sysv.xml @@ -34,8 +34,8 @@ Graphics support ---> < /*/M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> ... [DRM] - # If [DRM] is selected as * or M, this must be selected: - [ /*] Enable legacy fbdev support for your modesetting driver + # If [DRM] is selected as * or M, this must be selected: + [ /*] Enable legacy fbdev support for your modesetting driver ... [DRM_FBDEV_EMULATION] Console display driver support ---> # If [DRM] is selected as * or M, this must be selected: diff --git a/packages.ent b/packages.ent index 843d8d0a5..86242dd7d 100644 --- a/packages.ent +++ b/packages.ent @@ -26,7 +26,7 @@ - + @@ -35,7 +35,7 @@ - + @@ -44,8 +44,8 @@ - - + + @@ -55,7 +55,7 @@ - + @@ -65,17 +65,17 @@ - - + + - + - + - - + + - + @@ -86,7 +86,7 @@ - + @@ -101,25 +101,25 @@ - - + + - + - - + + - + @@ -128,7 +128,7 @@ - + @@ -137,7 +137,7 @@ - + @@ -145,15 +145,15 @@ - - + + - + @@ -187,10 +187,10 @@ - - - - + + + + @@ -216,25 +216,25 @@ - + - - - - - - + + + + + + - + @@ -243,25 +243,25 @@ - + - + - - + + - - + + @@ -317,10 +317,10 @@ - + - + @@ -354,7 +354,7 @@ - + @@ -365,12 +365,12 @@ - - + + - + - + @@ -378,10 +378,10 @@ - + - + @@ -403,14 +403,14 @@ - + - + @@ -419,24 +419,24 @@ - + - + - + - + - + - + - + - + - - - - + + + + - - + + @@ -637,12 +637,12 @@ - + - + - + @@ -650,7 +650,7 @@ - + @@ -658,13 +658,14 @@ - + - + @@ -675,15 +676,15 @@ - - + + - + @@ -694,7 +695,7 @@ - + @@ -705,8 +706,8 @@ - - + + @@ -739,9 +740,9 @@ - + - + @@ -763,8 +764,8 @@ - - + + @@ -787,9 +788,9 @@ - + - + @@ -809,6 +810,6 @@ - - + +