Commit Graph

10050 Commits

Author SHA1 Message Date
Thomas Trepl
adfebc0e05 Merge at Wed Dec 18 23:45:00 GMT 2024 2024-12-18 23:45:00 +00:00
Xi Ruoyao
e5955cd62a
gettext: Fix build issue with system libxml2
The upstream fix is explicitly checking libxml2 version so it's not
practical to be turned into a sed.  But I don't want to upload another
patch just for such a "temporary" issue (as it'll be fixed for 0.23.1
anyway).  This alternative fix relies on:

1. The fact that the return type of xmlCtxtGetLastError and the arg type
   of xmlStructuredErrorFunc are changed in the same commit
   61034116d0a3 ("error: Make more xmlError structs constant").
2. GCC supports typeof(expr) to get the type of expr w/o really
   evaluating it.

So it should have the same effect as the upstream fix.

Tested with both --with-included-libxml2 and --without-included-libxml2
on BLFS.
2024-12-18 10:52:00 +08:00
Xi Ruoyao
f8bdaa6ff3
systemd: Sync a sed with udev in sysv revision
Let's make the two revisions more consistent.
2024-12-18 10:42:01 +08:00
Thomas Trepl
5d3b7a0b0b Merge at Tue Dec 17 23:45:00 GMT 2024 2024-12-17 23:45:00 +00:00
Xi Ruoyao
8f5b4a7910
gettext: Remove useless sed
The second expression

    's/xmlError *err/const &/'

does nothing, because " *" actually matches zero, one, or several white
spaces, not a white space and an asterisk.

And the first expression

    '/libxml\/xmlerror.h/i #include <libxml/xmlversion.h>'

includes a header, but we are not using anything in the header.

The intention of the sed command is fix a compatibility issue with
system libxml, but LFS does not have a system libxml so the fix is not
needed for LFS.  And, if we just fix up the second expression to

    's/xmlError \*err/const &/'

making it actually work, it'll cause a FTBFS with shipped libxml (used
in LFS because system does not have libxml), so we cannot easily fix it
either.

For now just remove the sed.  If gettext-0.23.1 isn't released before
LFS 12.3 freeze, we can either apply the upstream patch to make it work
for both shipped libxml and system libxml, or add the corrected sed with
"nodump" and some alarming texts.
2024-12-17 21:26:26 +08:00
Thomas Trepl
c4e205c799 Merge at Mon Dec 16 23:45:00 GMT 2024 2024-12-16 23:45:00 +00:00
Thomas Trepl
90219b1a49 Merge branch 'trunk' into multilib 2024-12-16 22:27:00 +01:00
Bruce Dubbs
72fae0d02c Fix vim size 2024-12-16 11:54:48 -06:00
Thomas Trepl
fba6f0643d Add missing backslash 2024-12-16 16:50:42 +01:00
Thomas Trepl
566882f4bb Merge branch 'trunk' into multilib 2024-12-16 13:03:09 +01:00
Thomas Trepl
1b69877bc4 Fix chksum of vim tarball 2024-12-16 11:56:30 +01:00
Thomas Trepl
28528f5277 Merge branch 'multilib' of git.linuxfromscratch.org:lfs into multilib 2024-12-16 11:41:43 +01:00
Thomas Trepl
6175979aea Merge at Sun Dec 15 23:45:01 GMT 2024 2024-12-15 23:45:01 +00:00
Thomas Trepl
7e3b1c45f3 Automatic merge of trunk into multilib 2024-12-16 00:30:11 +01:00
Bruce Dubbs
4fd0680ccf Package updates.
Update to vim-9.1.0927.
Update to iana-etc-20241206.
Update to systemd-257.
Update to Python-3.13.1.
Update to libcap-2.73.
Update to linux-6.12.5.
Update to kbd-2.7.
Update to gettext-0.23.
2024-12-15 16:57:03 -06:00
Thomas Trepl
ed42deb91f Merge at Fri Dec 13 23:45:00 GMT 2024 2024-12-13 23:45:00 +00:00
Thomas Trepl
3a9dbb9120 Automatic merge of trunk into multilib 2024-12-14 00:30:11 +01:00
Xi Ruoyao
d095cba8b6
kernel: Remove outdated note not to update kernel API headers
We now consider upgrading kernel API headers safe.
2024-12-13 12:48:43 +08:00
Xi Ruoyao
71df0cfa0f
kernel: Note that make mrproper shouldn't be run for rebuild 2024-12-13 12:47:17 +08:00
Thomas Trepl
f039954795 Merge at Thu Dec 12 23:45:00 GMT 2024 2024-12-12 23:45:00 +00:00
Thomas Trepl
5fe13d78f5 Automatic merge of trunk into multilib 2024-12-13 00:30:10 +01: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
Thomas Trepl
1e56ed9357 Merge at Wed Dec 11 23:45:00 GMT 2024 2024-12-11 23:45:00 +00:00
Thomas Trepl
aacd452b5a Automatic merge of trunk into multilib 2024-12-12 00:30:11 +01:00
Xi Ruoyao
eb35057724
packages: Reword release tarball vs repo snapshot difference
Besides Rainer's suggestion, also use a vague "not stored in the
repository" instead of the over-precise "generated": there are also
vendored external source copies (as Git submodules or manually embedded
during Release Engineering, for example the gnulib copies in many
GNU packages); and maybe other cases.

Suggested-by: Rainer Fiebig <jrf@mailbox.org>
2024-12-11 20:31:08 +08:00
Thomas Trepl
c8e2f5fb72 Merge at Mon Dec 9 23:45:00 GMT 2024 2024-12-09 23:45:00 +00:00
Thomas Trepl
e180bda6fe Automatic merge of trunk into multilib 2024-12-10 00:30:11 +01:00
Xi Ruoyao
6fa6a4f3ce
Use "install ... -t $dir" instead of "mkdir $dir; cp ... $dir" if possible
So we don't need to type the long path twice.
2024-12-09 18:21:26 +08:00
Thomas Trepl
26662505d3 Merge at Sun Dec 8 23:45:00 GMT 2024 2024-12-08 23:45:00 +00:00
Thomas Trepl
e70236c693 Automatic merge of trunk into multilib 2024-12-09 00:30:11 +01:00
Bruce Dubbs
cefff0ec14 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2024-12-08 11:40:33 -06:00
Bruce Dubbs
a44b23f7a4 Update currency for python modules. 2024-12-08 11:40:14 -06:00
Thomas Trepl
0a93cb64a0 Merge at Fri Dec 6 23:45:00 GMT 2024 2024-12-06 23:45:00 +00:00
Thomas Trepl
b6178ff6e9 Automatic merge of trunk into multilib 2024-12-07 00:30:12 +01:00
Xi Ruoyao
c87106896c
English grammar fixes
Suggested-by: †KJM† <biz@k-1.me>
2024-12-06 17:05:02 +08:00
Thomas Trepl
7c545c262c Merge at Fri Dec 6 07:58:44 GMT 2024 2024-12-06 07:58:44 +00:00
Thomas Trepl
d95c68d0dc Automatic merge of trunk into multilib 2024-12-06 00:30:12 +01:00
Xi Ruoyao
79648bf770
kernel: Fix a typo (#5606) 2024-12-05 21:47:05 +08:00
Thomas Trepl
4ce87c4cba Merge 2024-12-05 10:32:10 +01:00
Thomas Trepl
700e394dfc Merge remote-tracking branch 'refs/remotes/origin/multilib' into multilib 2024-12-04 09:35:08 +01:00
Thomas Trepl
c6536b6710 Solve merge conflict 2024-12-04 09:34:04 +01:00
Xi Ruoyao
5ee35073fb
drm-panic: kernel: Explain DRM panic settings 2024-12-01 18:54:14 +08:00
Xi Ruoyao
2349341e3e
drm-panic: kernel: Enable DRM_PANIC
Since the previous commit, we've ensured the kernel displaying via DRM
even in the early stage.  Now enable DRM_PANIC so the kernel will
correctly show the last lines of the kernel messages in case a panic
happens.

Tested with an incorrect root= line in 3 configurations:

- A QEMU VM booted via BIOS
- A real machine booted via BIOS
- A real machine booted via UEFI

And in all configurations the panic message is correctly dumped.
In 1024x768 we can get 48 lines (twice of 24 lines in VGA console).
2024-12-01 18:36:45 +08:00
Xi Ruoyao
33c17d128b
drm-panic: grub: Set up the VESA framebuffer for the kernel
In the previous commit we've enabled the kernel to use the SimpleDRM
driver on the VESA framebuffer.  Now provide the VESA framebuffer to the
kernel.
2024-12-01 18:35:55 +08:00
Xi Ruoyao
fdf21dccba
drm-panic: kernel: Enable SimpleDRM
Currently on a LFS system booted via legacy BIOS (intead of UEFI), the
users can make two different configurations:

1. The DRM driver for the GPU is built as a module.  Then before the
   module is loaded (i.e. the root fs is properly mounted) the kernel
   messages are displayed via the VGA console.
2. The DRM driver for the GPU is built into the kernel image.  Then the
   kernel messages are displayed via the DRM-emulated framebuffer
   console since a very early stage (before the root fs is properly
   mounted).

When the system is booted via UEFI, we use SimpleDRM on the EFI
framebuffer for displaying kernel messages, thus it's always the case 2.

Both are not good for diagnostic in case the root fs cannot be mounted
properly (it's very frequent on lfs-support):

- With 1 the VGA console can only fit 80x24 characters, so the relevent
  information is often flushed away.
- With 2 the panic message is often displayed improperly when a DRM
  driver is running.

The "DRM panic" feature introduced since Linux 6.11 (but it'll only
become usable for LFS since Linux 6.12) can fix the case 2, while case
1 just cannot be fixed.  So start to make LFS booted via legacy BIOS
to use method 2 now, then we can enable DRM panic and fix this
long-standing issue.
2024-12-01 18:35:55 +08:00
Bruce Dubbs
ea48456403 Update to iana-etc-20241122.
Update to file-5.46.
Update to iproute2-6.12.0.
Update to libtool-2.5.4.
Update to linux-6.12.1.
Update to setuptools-75.6.0 (Python Module).
Update to wheel-0.45.1 (Python Module).
2024-11-30 09:49:34 -06:00
Thomas Trepl
d5c34f220f Merge at Thu Nov 28 23:45:01 GMT 2024 2024-11-28 23:45:01 +00:00
Thomas Trepl
17a8f46f3a Automatic merge of trunk into multilib 2024-11-29 00:30:11 +01:00
Bruce Dubbs
e5cc8213aa Typo 2024-11-28 12:50:41 -06:00
Thomas Trepl
595824ada9 Merge at Wed Nov 20 23:45:01 GMT 2024 2024-11-20 23:45:01 +00:00