export LFS=/mnt/lfs
注意,一定要在切换用户之后都检查一下$LFS变量是否正确,可以放在.bashrc中
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
real 5m43.543s
user 4m37.622s
sys 1m6.622s
使用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
可以使用 enter_chroot.sh