I strongly recommend to take a dedicated build box – with the FULL ISO and an USB hard drive the conversion will be temporary. This can be some fairly recent PC (2GHz, 1GB RAM) and a USB hard drive (30GB upwards – a 32GB thumb drive might also do the job). In the mid term we will concentrate on the self containing builds, so it’s best to get used to building with FULL ISO. The FULL ISO might also be a good starting point for anyone diving into Linux from Scratch since the versions of GCC and Glibc are usually close to those in LFS.
You have great freedom on directory layout and the unprivileged user that is used for building some packages, but for start you should stick with the defaults in LessLinux.
You’ll need some buildscripts from http://download.lesslinux.org/src/. Take either the most recent ones or some that match a certain version you want to build. As I write this, lesslinux-search-and-rescue-uluru-20110202-155012-buildscripts.tbz is recommended.
This tells the builder to do an unstable (-u) build (glibc 2.12 and kernel 2.6.37 instead of glibc 2.11 and kernel 2.6.36). In a view days, I’ll move it to stable and take 2.6.38-rc and glibc 2.13 as unstable. The -n tells to omit tests. When making changes to stage01, you would probably omit this to run tests to discover problems. Finally -s makes the builder skipping stages 2 and 3.
Tomorrow I’ll describe how to build stage02 – which means building all packages in a chroot environment – and finally assembling an ISO image from it.
Dieser Eintrag wurde am Thursday, February 3rd, 2011 um 9:48 am geschrieben und ist unter Howto, Packages and Architecture abgelegt. Antworten können Sie mit dem RSS 2.0-Feed verfolgen. F�r diesen Artikel sind weder Trackbacks noch Kommentare erlaubt.