revising the scripts

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Sun Dec 3 22:36:33 PST 2006


Alexander E. Patrakov wrote:
> Yes, and I was working on the MiniCD yesterday (to be discussed in a 
> separate thread).

Ok. Looking forward to it.

> 1) Drop everything from the main Makefile that isn't really needed 
> (e.g., "set +h" from lfsenv, because Make runs each command in a 
> separate bash shell).
> 2) Reduce variable namespace pollution. Ideally, there should be zero 
> exports that are not meant to be environment variables.
> 3) There is a bug that $HOME is set to /root while building /tools. I 
> discovered it while building a LiveCD for PPC in qemu using cross-distcc 
> (i.e., a private modification to the build scripts, currently not ready 
> for merging).

Alright. I'll follow your lead there.

> 1) the regular "make" command attempts to unpack the tools.tar.bz2 
> tarball if it exists.
> 2) if it doesn't exist, it builds /tools as usual and tars them up.

Yes, this is what I was thinking.

> In short, if this is useful to you, feel free to implement this yourself.

Yes, I think I might see a use for it. I may go ahead and drop this in. 
Also, are you at all interested in trying to extract the commands for 
the base-build similar to the jhalfs approach?

--
JH



More information about the livecd mailing list