3.3. Needed Patches

In addition to the packages, several patches are also required. These patches correct any mistakes in the packages that should be fixed by the maintainer. The patches also make small modifications to make the packages easier to work with. The following patches will be needed to build an LFS system:

Bash Upstream Fixes Patch - 5.9 KB:

Download: https://www.linuxfromscratch.org/patches/lfs/loongarch-12.1/bash-5.2.21-upstream_fixes-1.patch

MD5 sum: 2d1691a629c558e894dbb78ee6bf34ef

Bzip2 Documentation Patch - 1.6 KB:

Download: https://www.linuxfromscratch.org/patches/lfs/loongarch-12.1/bzip2-1.0.8-install_docs-1.patch

MD5 sum: 6a5ac7e89b791aae556de0f745916f7f

Coreutils Internationalization Fixes Patch - 166 KB:

Download: https://www.linuxfromscratch.org/patches/lfs/loongarch-12.1/coreutils-9.4-i18n-1.patch

MD5 sum: cca7dc8c73147444e77bc45d210229bb

Glibc FHS Patch - 2.8 KB:

Download: https://www.linuxfromscratch.org/patches/lfs/loongarch-12.1/glibc-2.39-fhs-1.patch

MD5 sum: 9a5997c3452909b1769918c759eff8a2

Kbd Backspace/Delete Fix Patch - 12 KB:

Download: https://www.linuxfromscratch.org/patches/lfs/loongarch-12.1/kbd-2.6.4-backspace-1.patch

MD5 sum: f75cca16a38da6caa7d52151f7136895

Readline Upstream Fix Patch - 13 KB:

Download: https://www.linuxfromscratch.org/patches/lfs/loongarch-12.1/readline-8.2-upstream_fixes-3.patch

MD5 sum: 9ed497b6cb8adcb8dbda9dee9ebce791

Sysvinit Consolidated Patch - 2.5 KB:

Download: https://www.linuxfromscratch.org/patches/lfs/loongarch-12.1/sysvinit-3.08-consolidated-1.patch

MD5 sum: 17ffccbb8e18c39e8cedc32046f3a475

Total size of these patches: about 203.8 KB

In addition to the above required patches, there exist a number of optional patches created by the LFS community. These optional patches solve minor problems or enable functionality that is not enabled by default. Feel free to peruse the patches database located at https://www.linuxfromscratch.org/patches/downloads/ and acquire any additional patches to suit your system needs.