转载请标明出处:https://www.cnblogs.com/kelamoyujuzhen/articles/9161515.html
Host:Windows10 + WMWare Workstation14.1.1 build-7528167
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core
LFS:7.10
准备host系统
依赖工具、库
要想构建LFS系统,首先需要一个Linux发行版本事先安装好,可以选择最小化安装。这个事先安装好的Linux(称为 host)提供必要的工具:
eg:编译器(compiler,)、链接器(linker,)、shell等等
借助这些工具构建我们的LFS系统。
为了构建LFS,host需要安装必要的工具。对于LFS 7.10来说,不建议使用小于下面列出版本号的tarball。
Bash-3.2(/bin/sh应该是bash的符号链接 或 硬链接)
This package satisfies an LSB core requirement to provide a Bourne Shell interface to the system.It was chosenover other shell packages because of its common usage and extensive capabilities beyond basic shell functions.