Commit Graph

361 Commits

Author SHA1 Message Date
Poltern
596ec4cca0 Added missing tag 2024-02-07 13:10:52 +05:00
Poltern
f8ddca6c50 bash: Really pass through the return code 2024-02-06 15:49:41 +05:00
Poltern
855635a4eb expect: Add (back) a simple test for PTY
We used to run "expect -c 'spawn ls'" for this in Binutils, but then we
thought expect test suite was enough as such a simple PTY test.  However
expect test can fail due to some different reason, so add back a simple
test using Python pty module before building expect.  Now we no longer
need to consider expect test critical (IIRC there was a report saying
one expect test failed for unknown reason but all other things OK).
2024-02-06 15:47:09 +05:00
Poltern
0f038fb272 Fix and unify the commands creating the link target of /dev/shm
$(realpath /dev/shm) will return the absolute path of the target of
/dev/shm, thus the command will work for both absolute symlink and
relative symlink.
2024-02-06 15:12:27 +05:00
Poltern
f4918d0720 Fix currency for xz 2024-02-06 14:49:11 +05:00
Poltern
30db4f49a4 Remove -v from "chown -R tester" commands
It does no good: normally we have -v for chown so once it no longer has
an effect we can know, but in this case these chown commands will never
have no effect.  And a huge amount of output with -v wastes the server
storage and bandwidth (for both the server and the people reading the
build logs).
2024-02-06 14:47:50 +05:00
Poltern
1558778edf Add info about how to upgrade Glibc on a running system
Let's change our policy to match other "rolling release" distros and
ease the procedure to fix Glibc security vulnerabilities.

Squashed the commits in xry111/update-glibc branch to keep the history
clean.
2024-02-06 14:42:52 +05:00
Poltern
e3dc880fe2 hostreq: Raise min-kernel to 4.19
4.14 is no longer supported by the upstream since Jan 2024.
2024-02-06 14:42:34 +05:00
Poltern
b1e4a585f8 Package updates:
- Update to glibc-2.39 (#5426)
- Update to linux-6.7.3 (#5427)
- Update to tzdata-2024a
2024-02-06 14:42:14 +05:00
Poltern
2aa8f4c78a Package updates
pkgmgt: Upgrading Linux API headers cannot be dangerous
2024-02-03 23:49:11 +05:00
Poltern
dd711b63c2 Drop --with-headers=/usr/include
Add more rationale about --enable-stack-protector, and remove the stale explanation of --with-headers
Update upstream fixes patch

To include fixes for CVE-2023-6246, CVE-2023-6779, and CVE-2023-6780.
2024-02-03 23:31:55 +05:00
Poltern
86c4a50dd4 Use C.UTF-8 instead of C in console, and set the consolefont for it 2024-02-02 23:20:52 +05:00
Poltern
0142283bf5 Fix punctuation in quotes, and quote signs 2024-02-02 23:20:31 +05:00
Poltern
21675b4c84 Unify locale settings in sysv and systemd 2024-02-02 16:43:10 +05:00
Poltern
8c6be1e8b3 Replace <quote> with <literal> for locale specifiers 2024-02-02 14:48:18 +05:00
Poltern
bf3b7cf3ad Rendering: some utf-8 fixes 2024-02-01 22:22:41 +05:00
Poltern
76fad010c0 Fix punctuation in quotes, and quote signs 2024-02-01 22:12:23 +05:00
Poltern
1d91dc9d2d Fix some defects of lfs book formatting 2024-02-01 16:59:28 +05:00
Poltern
6ffa2cb043 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-02-01 16:39:54 +05:00
Poltern
aec038d85e Packages update and small fix 2024-01-31 21:41:07 +05:00
Poltern
91199867f8 Fix CVE-2024-0684 (#5417) 2024-01-31 20:29:37 +05:00
Poltern
b0260cae16 Use the wide-character ABI compatible with libncursesw.so 2024-01-31 20:29:10 +05:00
Poltern
c0277fce01 git-version: Use "-wip" as the version suffix instead of "+" for changes not committed yet 2024-01-28 22:38:44 +05:00
Poltern
ea30a2a80b Small fix 2024-01-28 22:38:22 +05:00
Poltern
b60c3f3474 Fix dependencies 2024-01-28 22:37:41 +05:00
Poltern
d990b39025 Generate utf-8 for kernel params 2024-01-28 22:36:20 +05:00
Poltern
4d9ec5e342 Generate utf-8 support for stylesheets 2024-01-28 22:34:52 +05:00
Poltern
f105f90e87 Nitpick on format 2024-01-28 12:09:37 +05:00
Poltern
f6a073bbae Change C.UTF-8 localedef
udev: Drop duplicated udevadm in the ninja command
2024-01-28 11:54:56 +05:00
Poltern
fa2871f12e Typo and Unset udev_helpers after installation 2024-01-08 20:05:26 +05:00
Poltern
3f1b1dec24 Added forgotten commit 2024-01-06 16:44:40 +05:00
Poltern
b35bb207dd binutils: Add --enable-default-hash-style=gnu for configure (#5401) 2024-01-02 21:34:28 +05:00
Poltern
627d1976d6 gen-changelog: Handles holding tickets
systemd: Fix CVE-2023-7008
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)
2024-01-02 21:11:20 +05:00
Poltern
4b22241d1f 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-24 20:40:23 +05:00
Poltern
bf0e373262 symlinks: Mention how to disable NIC alternative names assignment 2023-12-23 19:18:17 +07:00
Poltern
ff6d5e3c0b Update to systemd-255 2023-12-23 19:04:39 +07:00
Poltern
d814a44983 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-15 11:50:43 +07:00
Poltern
be26e8faee Reformat util-linux configure parameters. 2023-12-15 11:50:00 +07:00
Poltern
34df1ab7fb kernel-config: Sync fixes from BLFS 2023-12-07 18:49:51 +07:00
Poltern
774a765d63 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-06 01:21:28 +07:00
Poltern
5b3061e01c Fix cmds installing python docs (permissions) 2023-12-06 00:16:55 +07:00
Poltern
114abbd936 dependencies: Remove outdated sentence
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 20:54:38 +07:00
Poltern
a98d62077f Formatting 2023-12-03 22:46:17 +07:00
Poltern
b54fb2de6c udev: Adjust the paths to search .link files and install 99-default.link
Tested in QEMU and the virtio NIC is now named "enp0s3"
2023-12-02 18:49:08 +07:00
Poltern
896ff56b0b Updated packages: bc, gettext, iana-etc, linux, meson, openssl, perl, pkgconf, vim, wheel 2023-12-02 18:36:52 +07:00
Poltern
ea75541c43 whatsnew: Use the <title> of the page for packages as package names 2023-11-26 21:52:24 +05:00
Poltern
0345af71bb dbus: minor spacing adjustment 2023-11-26 21:49:38 +05:00
Poltern
22bd70b2b7 Remove the reference to BLFS Berkeley DB page
Berkeley DB has been archived in BLFS.
2023-11-26 21:48:19 +05:00
Poltern
97f14efe8f Generate utf-8 encoded html (needs to be tested) 2023-11-26 21:46:04 +05:00
Poltern
18060affab 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.
2023-11-22 17:34:16 +05:00