LWN.net Logo

Linux From Scratch and Beyond

Linux From Scratch and Beyond

Posted Jul 27, 2006 10:39 UTC (Thu) by Jaffa (guest, #4327)
Parent article: Linux From Scratch and Beyond

I used LFS to create the bootstrap for WIMP OS[1] which is the start of an attempt to create a Linux-kernel-using operating system inspired by Acorn's RISC OS[2] using lots of relocatable ROX AppDirs and, in future Zero Install etc.

At the moment it's only something you can chroot into, but it should be *almost* bootable.

LFS made it relatively straight forward, though. Having said that, it's worrying the number of little patches that the LFS instructions say need applying to the upstream source: why aren't they included upstream already?

Cheers,

Andrew

[1] http://www.bleb.org/software/wimpos/
[2] http://www.osnews.com/story.php?news_id=15098


(Log in to post comments)

Linux From Scratch and Beyond

Posted Jul 30, 2006 5:36 UTC (Sun) by nlucas (subscriber, #33793) [Link]

    ... it's worrying the number of little patches that the LFS instructions say need applying to the upstream source: why aren't they included upstream already?

Most probably are, but usually not on the same version (they are applied to a latter version which becomes stable after the book was "frozen"), and for every version change they would need to check if the rest of the system would work with that new version.

By providing patches they can maintain the same book version and use and test the new versions on the unstable version of the book.

I'm not particulary in favor of their aproach, but they probably know better...

Linux From Scratch and Beyond

Posted Aug 3, 2006 0:11 UTC (Thu) by dbnichol (subscriber, #39622) [Link]

The number of patches used in LFS is often far less than that used in many of the big distros. For instance, see the number of patches used in the LFS coreutils build vs. Fedora's coreutils build: 3 vs. ~20.

http://www.linuxfromscratch.org/lfs/view/6.2/chapter06/co...
http://cvs.fedora.redhat.com/viewcvs/devel/coreutils/

An important thing to remember is that it is actually a very difficult task to get an entire system working together. The reason that these fixes aren't included upstream are varied, but often times they are system specific. Sometimes these patches _are_ backported from upstream.

Also, a lot of the patches used in LFS are specific to the fact that you are bootstrapping one system from another. Many of the tools are not meant to be built in this way, and special care needs to be taken to assure that the host does not influence your final system.

Try it out sometime. It's very addicting once you've got all the power in your hands.

Dan

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds