Le 03/03/2012 08:22, Qrux a écrit : > > I spent a little time with jhalfs in 6.8. I had some trouble with the build > (I'm sure it was me, or an outdated host). It's very pretty, and I might try > a similar menuconfig-style-interface in my own stuff. Right now I just use > 'read VAR' for my scripts (or edit a config file). It's less pretty, but it > works all the same. My stuff also aggressively tries to use "-j4", and > manually changes MAKEFLAGS for some packages that won't build correctly with > it. > > Is jhalfs capable of being completely blind to the book? Is the book > complete (or, literal) enough such that the extracted scripts (I assume these > are just the<userinput> parts of the XML) can just be strung together in the > order in which they are encountered to produce a build? Other than the "for > each package, unpack and descend" assumed instructions, of course. > Short answer: yes it does.
Long answer: Actually you can feed jhalfs with any book, which has the same structrure as LFS (that is, an XML docbook with the same chapter ordering, and the same usage of 'id', 'role' and' remap' attributes). It will build packages in the order they are encountered. Maybe the only part where it does not "read" the book, and uses its own instructions is when mounting the proc, sys and others filesystems. jhalfs can further test if the built system can rebuild itself (in two ways: ICA and FARCE), which is a good test, can do some statistics (SBU ans disk usage), keep a listing of installed files for each package, and of course keep the logs and test logs. It may be perfected, but I really think it gives a good testing framework for LFS (BLFS is another story, I am pulling my hair on it...). Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
