3.3. 必要的补丁

除了软件包外,我们还需要一些补丁。有些补丁解决了本应由维护者修复的问题,有些则对软件包进行微小的修改,使得它们更容易使用。构建 LFS 系统需要下列补丁:

Binutils 上游修复补丁 - 18 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/binutils-2.43.1-upstream_fix-1.patch

MD5 校验和:eddd9860af589ec328541a9ec5e5928e

Bzip2 文档补丁 - 1.6 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/bzip2-1.0.8-install_docs-1.patch

MD5 校验和:6a5ac7e89b791aae556de0f745916f7f

Coreutils 国际化修复补丁 - 164 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/coreutils-9.5-i18n-2.patch

MD5 校验和:58961caf5bbdb02462591fa506c73b6d

Expect GCC14 补丁 - 7.8 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/expect-5.45.4-gcc14-1.patch

MD5 校验和:0b8b5ac411d011263ad40b0664c669f0

Glibc FHS 补丁 - 2.8 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/glibc-2.40-fhs-1.patch

MD5 校验和:9a5997c3452909b1769918c759eff8a2

Kbd 退格/删除修复补丁 - 12 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/kbd-2.7-backspace-1.patch

MD5 校验和:f75cca16a38da6caa7d52151f7136895

SysVinit 累积更新补丁 - 2.5 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-3.11-consolidated-1.patch

MD5 校验和:17ffccbb8e18c39e8cedc32046f3a475

以上补丁的总大小:约 208.7 KB

除了上述必要的补丁外,LFS 社区还创建了一些可选补丁。它们有的解决了一些微小的问题,有的启用了一些默认没有启用的功能。您可以浏览 https://www.linuxfromscratch.org/patches/downloads/ 查询 LFS 补丁库,并获取各种适合您需求的补丁。