Commit Graph

9306 Commits

Author SHA1 Message Date
Xi Ruoyao
50a0916dea
vim: Remove tests requiring curl or vim
Since vim-9.1.0859, some tests need curl or wget or they fail.
2025-01-26 17:31:00 +08:00
Xi Ruoyao
b05b2270d3
libtool: Remove outdated known failures
The test results seem clean in the LFS chroot now.
2025-01-26 12:14:32 +08:00
Xi Ruoyao
9eccb6170d
glibc: Unset tz as well as ZONEINFO after installing tzdata 2025-01-26 00:55:43 +08:00
Xi Ruoyao
ff4a32ec01
aboutlfs: Fix umask expect output
On a latest LFS system the output is 0022.  It seems depending on host
shell version.
2025-01-25 22:15:31 +08:00
Bruce Dubbs
2aaea1389b Make pip3 commands consistent. 2025-01-18 21:09:08 -06:00
Zeckmathederg
59cc122efa changelog: Change ticket link to point to the right ticket. 2025-01-15 23:56:42 -07:00
Bruce Dubbs
ea9df10321 Package updates.
Update to vim-9.1.1016.
Update to iana-etc-20250108.
Update to util-linux-2.40.4.
Update to sysvinit-3.13.
Update to sysklogd-2.7.0.
Update to shadow-4.17.2.
Update to setuptools-75.8.0.
Update to linux-6.12.9.
Update to gettext-0.23.1.
2025-01-14 15:23:27 -06: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
016ba17be9
procps: Remove the systemd revision specific workaround
The issue is fixed in procps-ng-4.0.5.
2025-01-12 13:20:45 +08: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
625969c2de
aboutlfs: Also mention umask in addition to export LFS= for bash profiles 2025-01-12 11:53:48 +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
Xi Ruoyao
cacb470c97
aboutlfs: Set umask to 022
I know some distros are using a different default and we are having
reports of some mysterious permission issue via lfs-support those I
highly suspect as some umask issue.  Let's just explicitly set it (like
setting $LFS) to protect us from such distros without changing every
"mkdir -pv" to "install -vdm755".
2025-01-11 23:34:14 +08:00
Douglas R. Reno
389d8f53db Changelog: mark Python 3.13.1 as a security update 2025-01-03 11:59:32 -06:00
Pierre Labastie
d11e5762bc pip3 wheel should be remap="make" 2025-01-03 12:21: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
Bruce Dubbs
f1a5ce3860 Update to shadow-4.17.1. 2024-12-31 20:34:57 -06:00
Douglas R. Reno
7822686752 dbus: remove a duplicate ninja command 2024-12-31 14:56:53 -06:00
Douglas R. Reno
93d4efbcd6 Changelog: mark Jinja2 as a security update 2024-12-31 13:54:22 -06:00
Douglas R. Reno
c1a3c0292a Package updates:
Update to dbus-1.16.0 (systemd only)
Update to libxcrypt-4.4.37
2024-12-31 13:53:30 -06:00
Bruce Dubbs
7a01f6150f Package updates.
Update to iana-etc-20241220.
Update to texinfo-7.2.
Update to sysvinit-3.12.
Update to shadow-4.17.0.
Update to procps-ng-4.0.5.
Update to meson-1.6.1.
Update to linux-6.12.7.
Update to kbd-2.7.1.
Update to jinja2-3.1.5.
2024-12-31 11:12:12 -06:00
Xi Ruoyao
bfb0cbae18
os-release: Automatically update RELEASE_TYPE 2024-12-21 11:56:57 +08:00
Douglas R. Reno
6913a42bff Update the systemd man pages to 257. 2024-12-20 15:17:54 -06:00
Douglas R. Reno
86a50f243a /etc/os-release: Add in the RELEASE_TYPE field.
This field was introduced with systemd-257. For development books, we'll
use "development" here, but when we do the next release we should change
this to say "stable".
2024-12-20 15:15:07 -06:00
Douglas R. Reno
33b3a04e4e Revert "systemd: Update the test suite failures list for 257."
This reverts commit 8f493a6377.

When I was building LFS, I somehow forgot to mount /dev/sdb7 to
/mnt/lfs on my system. I ended up chrooting into /mnt/lfs, and it was a
directory, not a filesystem.

This happens from time to time, not sure why I did it this time!

The tests that I had marked as failed no longer fail, but at the same
time, now test-namespace does. Let's undo this commit...
2024-12-19 15:05:20 -06:00
Douglas R. Reno
8f493a6377 systemd: Update the test suite failures list for 257. 2024-12-19 14:43:05 -06: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
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
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
1b69877bc4 Fix chksum of vim tarball 2024-12-16 11:56:30 +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
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
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
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
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
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
Xi Ruoyao
c87106896c
English grammar fixes
Suggested-by: †KJM† <biz@k-1.me>
2024-12-06 17:05:02 +08:00
Xi Ruoyao
79648bf770
kernel: Fix a typo (#5606) 2024-12-05 21:47:05 +08: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
Bruce Dubbs
e5cc8213aa Typo 2024-11-28 12:50:41 -06:00