3.3. 必要的补丁

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

Binutils 上游修复补丁 - 8.0 KB:

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

MD5 校验和:3518fa864fe8d7ef65be4960f380b03b

Bzip2 文档补丁 - 1.6 KB:

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

MD5 校验和:6a5ac7e89b791aae556de0f745916f7f

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

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

MD5 校验和:1eeba2736dfea013509f9975365e4e32

File 上游修复补丁 - 4.0 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/file-5.40-upstream_fixes-1.patch

MD5 校验和:d99090db596b9db2bed869662199a56a

Glibc FHS 补丁 - 2.8 KB:

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

MD5 校验和:9a5997c3452909b1769918c759eff8a2

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

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

MD5 校验和:f75cca16a38da6caa7d52151f7136895

Perl 上游修复补丁 - 1.6 KB:

下载地址:https://www.linuxfromscratch.org/patches/lfs/development/perl-5.34.0-upstream_fixes-1.patch

MD5 校验和:fb42558b59ed95ee00eb9f1c1c9b8056

Sysvinit 累积更新补丁 - 2.4 KB:

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

MD5 校验和:4900322141d493e74020c9cf437b2cdc

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

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