Commit Graph

9188 Commits

Author SHA1 Message Date
Xi Ruoyao
8ba840f34a
Makefile: Unify two sed for removing bogus xmlns:xlink, and link to upstream bug report
Nasty bug :(.
2024-01-15 21:47:38 +08:00
Xi Ruoyao
56eed6c5da
systemd: Update the explanation to match the actual command 2024-01-15 12:36:47 +08:00
Xi Ruoyao
7f6519aad7
udev: Realign the export udev_helpers=... command 2024-01-15 12:30:03 +08:00
Pierre Labastie
b8194e059c make default BASEDIR in public_html
that is:
- ~/public_html/lfs-book for sysv
- ~/public_html/lfs-systemd for systemd
2024-01-14 22:44:14 +01:00
Pierre Labastie
0432a3a1a8 Generate utf-8 for lfs-nochunks too
This involves:
- removing the <xsl:output ...> element from nochunks.xsl
- adding a sed for rmoving the invalid xmlns:xlink attribute
- removing the sed for "&copy;"
2024-01-14 22:36:12 +01:00
Pierre Labastie
855d0c9574 Remove an invalid attribute in longindex.html
For some reason, the stylesheets generate a
<div xmlns:xlink="http://www.w3.org/1999/xlink" ...> element in
longindex.html, but this is not valid in xhtml (the attribute
xmlns=xlink is not defined in the DTD). The problem is that tidy then
thinks it is not a true xhtml and removes the doctype declaration.
But when a browser receives a file without doctype declaration, it
thinks it uses an old standard, and switches to "quirks mode"
(for firefox, this can be seen by typing ctrl-I on the page).
2024-01-14 22:27:37 +01:00
Pierre Labastie
ec18a3872a Makefile: Set tabs to 3 spaces when editing with vi
This allows all editors to have the same settings...
2024-01-14 22:25:07 +01:00
Xi Ruoyao
ce07f91d5e
udev: Drop duplicated udevadm in the ninja command 2024-01-14 17:39:22 +08: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
Pierre Labastie
f1370e2fb9 Change C.UTF-8 localedef everywhere 2024-01-11 13:51:15 +01:00
Douglas R. Reno
fecc287280 Fix the definition of the C.UTF-8 locale.
This fixes a test failure in Epiphany.
2024-01-09 11:16:26 -06:00
Thomas Trepl
06e65e8e59 remap=make moves unset command to wrong pos 2024-01-07 11:15:05 +01:00
Xi Ruoyao
33c9cb06d7
systemd: Fix another deprecation warning
Not sure why I didn't catch it...
2024-01-06 11:26:22 +08:00
Xi Ruoyao
164e0ddbce
udev: Unset udev_helpers after installation
Now this variable is exported, thus it might potentially cause unwanted
side effects building other packages.  So unset it after installation.
2024-01-05 03:05:01 +08:00
Pierre Labastie
53ed17c752 export the udev_helpers variable
Since it is needed for both building and installing, exporting it
allows to have it defined even if building as a regular user (so that
sudo is run for installing) or using a package manager (which usually
runs in a new shell and forgets unexported variables)
2024-01-04 19:22:44 +01:00
Bruce Dubbs
acde0a383a Typo 2024-01-04 09:44:21 -06:00
Xi Ruoyao
6fec3f51e7
binutils: Add --enable-default-hash-style=gnu for configure (#5401) 2023-12-31 02:37:07 +08:00
Xi Ruoyao
8b4fb1245d
systemd: Fix CVE-2023-7008 (#5405) 2023-12-31 02:35:25 +08:00
Xi Ruoyao
d4ce302c0e
Package updates
- Update to meson-1.3.1 (#5402)
- Update to vim-9.0.2189 (#4500)
- Update to inetutils-2.5 (#5404)
- Update to xml-parser-2.47 (#5403)
- Update to linux-6.6.8 (#5397)
- Update to tzdata-2023d (#5399)
- Update to setuptools-69.0.3 (#5400)
- Update to iana-etc-20231205 (#5006)
- Update to autoconf-2.72 (#5398)
- Update to grub-2.12 (#5396)
2023-12-31 02:00:59 +08:00
Xi Ruoyao
462ef6dfa4
gen-changelog: Handles holding tickets 2023-12-31 01:09:57 +08:00
Xi Ruoyao
95fc77277a
Remove stray references to TESTSUITEFLAGS
Now TESTSUITEFLAGS is set globally in Chapter 7.4, so there is no need
to mention it again and again in individual packages.
2023-12-23 21:18:07 +08:00
Xi Ruoyao
eea548fb62
symlinks: Fix grammar 2023-12-22 18:22:56 +08:00
Xi Ruoyao
3608380f22
symlinks: Mention how to disable NIC alternative names assignment
Fixes #5394.
2023-12-19 19:50:34 +08:00
Xi Ruoyao
7380559028
systemd: Disable systemd-sysupdate with a better way 2023-12-18 16:38:21 +08:00
Xi Ruoyao
9afac649f2
Update to systemd-255 2023-12-18 16:31:18 +08:00
Bruce Dubbs
81d572d25f Remove invalid revision attribute 2023-12-14 18:49:05 -06:00
Bruce Dubbs
04a7336f88 Package updates.
Update to util-linux v2.39.3.
Update to python3-3.12.1.
Update to linux-6.6.7.
Update to kbd-2.6.4.
Update to bc-6.7.4.
2023-12-14 16:47:50 -06:00
Bruce Dubbs
03682b250c Reformat util-linux configure parameters. 2023-12-14 14:16:13 -06:00
Xi Ruoyao
7cce808a46
kernel-config: The hot key for choices is just the first character
Stupid inconsistency...
2023-12-06 17:26:10 +08:00
Xi Ruoyao
31a9142d10
kernel-config: Sync fixes from BLFS 2023-12-06 01:32:48 +08:00
Xi Ruoyao
981b9fa6a1
kernel-config: Drop FB
In Linux 6.6 DRM_FBDEV_EMULATION no longer depends on FB, so we no
longer need to select FB (tested in a QEMU VM).

But if DRM is selected, we must select both DRM_FBDEV_EMULATION and
FRAMEBUFFER_CONSOLE or we'll see only blank screen.  And now
FRAMEBUFFER_CONSOLE is not selected by default, be warned!!
2023-12-05 14:58:29 +08:00
Xi Ruoyao
34774f4986
kernel-config: Regenerate with Linux 6.6.3
Only a trivial change (renaming CONFIG_FB).
2023-12-05 14:34:30 +08:00
Xi Ruoyao
622f56d917
util-linux: Add asciidoctor and po4a as dependencies
Asciidoctor is needed for regenerating man pages, and po4a is needed for
generating translated man pages in addition to asciidoctor.
2023-12-05 12:11:47 +08:00
Thomas Trepl
dc8572f241 Fix cmds installing python docs (permissions) 2023-12-04 19:15:01 +01:00
Xi Ruoyao
7fb4eb8668
dependencies: Remove outdated sentence
This sentence has been untrue since LFS 10.0.
2023-12-04 21:47:24 +08:00
Xi Ruoyao
642f779f64
gcc-pass2: Fix the indent of the sed command in case 2023-12-03 12:42:28 +08:00
Bruce Dubbs
aef269a32d Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-12-02 14:41:23 -06:00
Bruce Dubbs
a851a78ded Formatting 2023-12-02 14:41:09 -06:00
Xi Ruoyao
823fbde93f
udev: Adjust the paths to search .link files and install 99-default.link
Tested in QEMU and the virtio NIC is now named "enp0s3".

Fixes #5386.
2023-12-01 18:29:03 +08:00
Xi Ruoyao
4ca831a42f
Use GitHub for vim download
I don't see a reason to upload vim tarball onto anduin.  And now anduin
does not have vim-9.0.2136.tar.gz.

I tried downloading vim-8.0.0586 (shipped by LFS 8.2) from GitHub and it
worked fine.  So it seems the GitHub storage is stable enough.
2023-12-01 16:39:58 +08:00
Bruce Dubbs
15f7b58b4c Package updates.
Update to vim-9.0.2136.
Update to iana-etc-20231117.
Update to bc-6.7.3.
Update to wheel-0.42.0 (Python Module).
Update to perl-5.38.2.
Update to pkgconf-2.1.0.
Update to readline patches 002 through 007.
Update to openssl-3.2.0.
Update to setuptools-69.0.2.
Update to linux-6.6.3.
Update to meson-1.3.0.
2023-11-30 13:00:51 -06:00
Xi Ruoyao
2f82ad1e16
dependencies: Replace the references to BLFS Berkeley DB page
Berkeley DB has been archived in BLFS, refer to the Oracle product page
for it instead.
2023-11-26 21:09:30 +08:00
Xi Ruoyao
1dbc435c82
iproute2: Remove the reference to BLFS Berkeley DB page
Berkeley DB has been archived in BLFS.
2023-11-26 21:02:59 +08:00
Douglas R. Reno
a19dadfd2f dbus: minor spacing adjustment 2023-11-24 18:39:41 -06:00
Xi Ruoyao
8e85548954
whatsnew: Use the <title> of the page for packages as package names
This is more consistent, and it reduces the number of different
translatable strings for translators.  Most of the package names in
whatsnew has already been aligned with <title>s, now make these two
"from ..." packages so.
2023-11-24 11:54:35 +08:00
Pierre Labastie
1fdbce2c4e Generate utf-8 encoded html
This removes several problems with wrong encodings...
The sed for &copy; is not needed anymore
tidy.conf has to be changed to remove specification of latin1 as
input and output encodings.
2023-11-23 20:59:52 +01:00
Douglas R. Reno
5e8bab73a1 Chapter 6 Ncurses: minor text tweaks 2023-11-22 19:18:51 -06:00
Douglas R. Reno
655450075c Setting Environment: minor tweak 2023-11-22 16:08:30 -06:00
Xi Ruoyao
01247ac90a
kernfs: Revise command creating the link target in case /dev/shm is a symlink
When /dev/shm is a symlink we need to create its target or some tests
will fail and Python 3 will be misconfigured.  We wrote it as:

    mkdir -pv $LFS/$(readlink $LFS/dev/shm)

But if $LFS/dev/shm is a relative symlink (say ../run/shm), we end up:

    mkdir -pv /mnt/lfs/../run/shm

This command will create /mnt/run/shm, not $LFS/mnt/shm as we expected.
Twist it a little to make it work for both absolute symlinks and
relative symlinks.
2023-11-20 07:23:36 +08:00
Douglas R. Reno
f16cc36c29 Typo fix 2023-11-15 15:25:51 -06:00