Milestone 2 (Chapter 3, 4 & 5)
Chapter 3 Packages and Patches using wget-list-systemd
sudo -i
mkdir -v $LFS/sources
chmod -v a+wt $LFS/sources
exit
cd $LFS/sources
wget https://www.linuxfromscratch.org/lfs/view/stable-systemd/wget-list-systemd
wget --input-file=wget-list-systemd --continue --directory-prefix=$LFS/sources
du -h
wget https://www.linuxfromscratch.org/lfs/view/stable-systemd/md5sums
pushd $LFS/sources
md5sum -c md5sums
popd

Manual Download
https://zlib.net/zlib-1.2.13.tar.gz As of October 13, 2022 zlib version 1.2.12 has a vulnerability so I updated to 1.2.13.
https://sourceforge.net/projects/expat/files/expat/2.4.9/expat-2.4.9.tar.xz/download (Previous version was labeled as critically vulnerable)
https://www.python.org/ftp/python/3.10.8/Python-3.10.8.tar.xz (This is to fix the python vulnerability)
https://www.python.org/ftp/python/doc/3.10.8/python-3.10.8-docs-html.tar.bz2 (This is to fix the python-docs vulnerability)
Clean Run
To get a clean run I had to modify the md5sum file.


Clean run:

Chapter 4 - Directory Structure for LFS File System (4.2)

LFS User
Permissions
Switch User
Bash Profile
Bashrc
Getting rid of /etc/bashrc
go back to lfs

Chapter 5 - Part 3 - Tool Chain and Temporary Tools
5.2 Binutils Pass 1


5.3.1 GCC-12.2.0 - Pass 1
5.4. Linux-5.19.2 API Headers
5.5. Glibc-2.36

5.6.1. Installation of Target Libstdc++
Milestone 2 Test

Last updated