Initial commit of LFS notes and scripts.

This commit is contained in:
Shaun Setlock
2025-01-20 15:44:57 -05:00
commit 386dc3cec7
78 changed files with 2628 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# Chapter 3
## Section 1 Intro
## Section 2 Packages
Make a directory for all the sources of packages/patches we're going to build.
`mkdir -v $LFS/sources`
Make it sticky and writable.
`chmod -v a+wt $LFS/sources`
Fetch the list of all packages needed.
`wget https://www.linuxfromscratch.org/lfs/downloads/stable-systemd/wget-list`
Pull them all down.
`wget --input-file=wget-list --continue --directory-prefix=$LFS/sources`
Fetch their MD5 checksums.
`wget https://www.linuxfromscratch.org/lfs/downloads/stable-systemd/md5sums`
Check every package for its integrity.
```
pushd $LFS/sources
md5sum -c md5sums
popd
```
## Section 3 Patches