Linux From Scratch ING(2)
来源:互联网 发布:excel 两列数据相同项 编辑:程序博客网 时间:2024/05/22 13:02
Chapter 3 :
现在来进行LFS第三章的内容的构建。
目测是构建系统文件包及更新。
其实要下载的文件包和更新都在挂载的目录lfs-sources下都有,cp进去就行了
但是不能直接cplfs-sources文件夹进去,得进入文件夹
使用cp * /mnt/lfs/sources(或者cp * $LFS/sources)实现拷贝。
Chapter 4 :
把所有的文件都准备充足后开始进行第四章的内容的构建。
再目测一下……
最后的准备……
首先确认$LFS路径是否正确。
echo打印
若不正确,则使用export修改。
创建tools文件夹
mkdir -v $LFS/tools
创建符号链接
ln -vf $LFS/tools
创建符号链接使得我们不仅能在宿主系统使用,当chrooted(change root)之后,也能使用相同的工具链。
下面的没什么好说的……
只提一点……
创建~/.bash_profile的时候
输出的PS1='\u:\w\$'中,若w为小写,则创建出来后,使用lfs账户进入路径后,将显示完整路径,
例如进入/home/LFS路径后
shell 将显示[ @ ] /home/LFS$:
若更改为大写,将只显示[ @ ]LFS$:
Chapter 5 :
构建临时系统
两个重要的tips:
1、Before issuing the build instructions for a package, the package should be unpacked as user lfs, and a cd
into the created directory should be performed. The build instructions assume that the bash shell is in use.
在分别执行每一个包的安装时,必须以lfs身份展开包。所有的构建都是在bash shell里面完成。
2、After installing each package, delete its source and build directories, unless specifically instructed
otherwise. Deleting the sources prevents mis-configuration when the same package is reinstalled later.
在安装完一个包后,如果没有特殊说明,删除它的源文件及生成的目录。防止在重安装的过程中发生错误。
3、进入系统后,请设置root密码,防止之后进入lfs账户后,一些文件的权限不足。
接下来就是形形色色的make了……
- Linux From Scratch ING(2)
- Linux From Scratch ING(1)
- Linux From Scratch(介绍)
- LFS(Linux from Scratch)使用
- 说说Linux From Scratch (LFS)
- Linux From Scratch(LFS)详解
- My linux from scratch.
- Linux From Scratch
- Embedded Linux From Scratch
- Linux From Scratch
- Linux From Scratch
- Embedded Linux From Scratch
- Linux From Scratch
- Linux From Scratch
- Linux From Scratch
- Linux From Scratch
- LFS--------Linux From Scratch
- Linux From Scratch
- MATLAB帮助文档_产品升级摘要_Summary of Product Updates
- 关于圆的计算
- 第二野战军
- Period Table - org_acct_periods
- 叶中泪的伤感日志:现实的残酷,让我心痛欲绝
- Linux From Scratch ING(2)
- MATLAB帮助文档_强调产品的主要新特性和增强功能_Highlights of Products with Maior New Features and Enhancements
- 从百度空间转移到CSDN
- 5.4 迭代器模式 Iterator (行为模式)
- 如何恢复ubuntu桌面的菜单栏?
- 第八周-学习字符加密
- java swing定制jbutton 圆角显示
- 物是人非的伤感日志:你回头,对方已不再等待
- 用libxml2操作xml文档的例子