LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1681|回复: 19

[LFS.News.20060414] udev 分支并入主线。

[复制链接]
发表于 2006-4-15 10:01:52 | 显示全部楼层 |阅读模式
Udev and Alpha Branches Merged To Trunk
    Archaic - 2006/04/14

    Last week the alphabetical branch was merged into trunk. With this change, the LFS build order has been revised and documented like never before. Following that came the udev branch merge yesterday which now allows trunk to use the latest kernel and udev version while removing hotplug. There are very few bugs left to squash so trunk will soon be able to branch off for release. Anyone who would like to help test this new trunk can read the book online, or download to read locally. If you prefer, you can check out the book's XML source from our Subversion repository and render it yourself:

svn co svn://svn.linuxfromscratch.org/LFS/trunk/BOOK/
发表于 2006-4-15 10:46:24 | 显示全部楼层
Many software, like kernel, in the previous SVN book are too old.  It should be merged long ago.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-15 10:51:47 | 显示全部楼层
The kernel is very very fresh now. It is 2.6.16.5..

I like CLFS better. GLIBC 2.4 + GCC 4.1.0. So cool.
回复 支持 反对

使用道具 举报

发表于 2006-4-15 11:08:39 | 显示全部楼层
Bleeding edge!:2cool

May you share you experiences on CLFS vs a normal LFS build?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-15 11:25:40 | 显示全部楼层
事实上,CLFS 和 LFS 很相似的。主要的不同就是在工具链的制作上。

CLFS 一开始先做一个 交叉工具链。然后为目标机器编译一个临时环境,然后在那台目标机器上完成后边的编译工作。
LFS 一开始做一个本地工具链,然后编译临时环境。最后直接chroot进去,完成LFS的编译。

主要的不同是CLFS 做了2条工具链,一条是给 本机用的,为目标机编译的。另外一条是目标机的本机工具链,这个就是类似 LFS 中的工具链。CLFS 的临时环境都是用前一条工具链编译出来的,里边的内容都要拷贝到目标机才能运行的。

只是简单的介绍,等我有更多的心得,再继续分享。。

其实主要还是看看那些patch,精华都在那里。。其他的,照猫画虎就可以了。。。
回复 支持 反对

使用道具 举报

发表于 2006-4-15 11:45:15 | 显示全部楼层
Sounds good.

I begin to have interests on CLFS.  The company is providing (lending) me a T41 ThinkPad for daily operations.  It comes with a P4M-Centrino 1.4G which is far more advanced than my PII crap.  I may take this advantage to build a new 32-cross-32 LFS for the PII.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-15 11:59:04 | 显示全部楼层
Wow, that's a very good news. . You should try CLFS for at least once. It really widened my sight.

For the T41, you should use it as much as you can. .
回复 支持 反对

使用道具 举报

发表于 2006-4-15 12:05:53 | 显示全部楼层
I cannot re-partition or do any changes on the hard disk partition layout of the T41, so I attempted to build a new LFS on USB HDD with ALFS.  It is really unfortunate that the USB port is not working properly.

I think, first of all, I need to figure out what sort of storage media may work properly with the T41 so that I may proceed right the way.  For the time being, I'll begin to read the CLFS book.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-15 12:20:45 | 显示全部楼层
With T41, it is quite easy to change the harddrive and this means you can replace it temporary.;).

You can try PXE boot which allows you to modify whatever you want with the kernel and initrd scripts. I haven't test it yet, but it should work.
回复 支持 反对

使用道具 举报

发表于 2006-4-15 12:34:18 | 显示全部楼层
Well, I am not brave enough to touch the HDD in the T41, it is sealed and I'll be shot if I break it.

I just have a glance at the CLFS book.  Like LFS, once you finished, you ended up with a basic system with minimal functions.  It seems the CLFS developers assume users will proceed BLFS on their own native machine.  Is it practical to cross build BLFS, CLFS-BLFS?
You can try PXE boot which allows you to modify whatever you want with the kernel and initrd scripts. I haven't test it yet, but it should work.
I don't catch it, can you elaborate?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表