On 11/12/05, Dan Nicholson <[EMAIL PROTECTED]> wrote: > > I'm gonna go track down some old posts on the purity tests. Also, if > you want to see how Greg does the binary diffing, you can download his > build system and have a look through the shell scripts. There are a > few functions related to ICA that basically make up the crux of the > matter. >
Just to save you some time, I use the following script to prepare the installation for an ICA. This is of course based on the gsbuild scripts by Greg. #!/bin/sh #prepICA usage() { printMsg warning "Usage: `basename $0` dir" exit 1 } if [ $# -ne 1 ] then usage fi if [ ! -d "$1" ] then usage fi DIR=$1 # Remove symlinks find $DIR -type l | xargs rm -f # Unzip files find $DIR -name "*.bz2" | xargs bunzip2 -f find $DIR -name "*.gz" | xargs gunzip -f # Extract static libs for i in $(find $DIR -name "*.a" -not -name libieee.a -not -name libmcheck.a) do install -d $i.X || error "Could not create dir $i.X" pushd $i.X >/dev/null || error "Could not change to $i.X" ar x $i || error "Could not extract $i" rm -f $i popd >/dev/null done For the current situation, make an LFS installation as per the current book and then copy all the files from the LFS partition to /lfs1 on the host. Repeat installation with the new build order and copy the files to /lfs2. Then run prepICA /lfs1 && prepICA /lfs2. Then do a diff on the two directories. -- Tushar Teredesai mailto:[EMAIL PROTECTED] http://www.linuxfromscratch.org/~tushar/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page