Roger Merchberger wrote:
Rumor has it that Jeremy Huntwork may have mentioned these words:

Roger Merchberger wrote:

Anyway, I'm starting to work on modding the profile (included on the LiveCD) now, should I submit that as a patch, or should I learn SVN & friends...


Well, we could use all the help we could get. Just a few suggestions to get you started.

For Subversion, take a look at http://svnbook.red-bean.com/


I'll start looking into it. My idea of version control never got past "Save As before editing the document." ;-)

That book will help a great deal in understanding the repository and version-control

As far as helping with the livecd, you'd learn a great deal about how it works, and how it is built if you look at our build scripts, which are all done with a series of Makefiles.


Eeek. Makefiles! Having never gotten deep into C, makefiles were always a bit'o'greek to me. The "basics" don't seem difficult from what I've seen so far, but it seems they can get pretty intricate pretty quickly. Ah well, I guess I couldn't avoid it forever... ;-)

=-=-=-=-=

I have a few new questions I need advice and/or help on:

1) Is the included kernel able to support SMP? If not, could I put in a "feature request" for whomever decides what goes in the LiveCD kernel and what doesn't to add that in?


Already in. :)

The safest way (to me) that I've found is to specify the entire parameter in an xml variable in general.ent, like:
<!ENTITY make_parallel "-j 2">
and use that xml variable in each segment, like:


<make>
        <param>&make_parallel;</param>
</make>

I assume you're talking about the nALFS profiles? If so, take a look again. That is exactly how they're set up. I believe the default value is unset, but seeing that the "-j" is expected as part of the value, having it unset doesn't hurt anything.


In fact, here's an excerpt from the nALFS 6.1 profile's general.ent:

<!-- parallel build level (make flag -j). Default is unset. For faster build
times, you might try setting this flag to 2-3 times the number of
processors in your machine. So, for example, a single processor machine,
you might set this entity to "-j3"
-->
<!ENTITY jlevel "">


Of course, that explanation may be a bit off... I've heard that it's recommended for single processor machines to be -j2 and dual processors, -j3.

--
Jeremy Huntwork
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to