Skip to content

Latest commit

 

History

History

readme.md

linux from scratch 流水账

11.1 stable book

下载解压阅读 11.1

检查host软件环境

检查host软件环境 version-check.sh

配置$LFS环境变量

export LFS=/mnt/lfs
注意,一定要在切换用户之后都检查一下$LFS变量是否正确,可以放在.bashrc中

wget-list

An easy way to download all of the packages and patches is by using wget-list as an input to wget. For example:

wget https://lfs-11-1-1259536604.cos.ap-beijing.myqcloud.com/wget-list-11.1-tencent-cos
wget https://lfs-11-1-1259536604.cos.ap-beijing.myqcloud.com/md5sums --directory-prefix=$LFS/sources
wget --input-file=wget-list-11.1-tencent-cos --continue --directory-prefix=$LFS/sources
pushd $LFS/sources
md5sum -c md5sums
popd

wget-list-9.0-tencent-cos

md5sums

my SDU

real	5m43.543s
user	4m37.622s
sys	    1m6.622s

关于openssl

使用openssl-3.0.5.tar.gz 替代了 3.0.1
openssl-3.0.5.tar.gz
https://lfs-11-1-1259536604.cos.ap-beijing.myqcloud.com/openssl-3.0.5.tar.gz

切换chroot

可以使用 enter_chroot.sh