Mercurial > hg > aboriginal
view run-from-build.sh @ 615:7523d1f3b818
Some slight paranoia against multiple host-tools.sh runs that get interrupted in the middle. (Yeah, in general that's not guaranteed to work, but still...)
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 10 Feb 2009 21:14:09 -0600 |
parents | 518c8e257b3d |
children | d658f28e36ae |
line wrap: on
line source
#!/bin/bash SAVEPATH="$PATH" source sources/include.sh PATH="$SAVEPATH" cd "${BUILD}/system-image-$ARCH_NAME" || exit 1 # A little paranoia. [ -f "image-${ARCH}.ext2" ] && fsck.ext2 -y "image-${ARCH}.ext2" </dev/null # And run it, using the distccd we built (if necessary) and the cross-compiler. PATH="$HOSTTOOLS:$PATH" ./run-emulator.sh --make-hdb 2048 --memory 256 \ --with-distcc "${BUILD}/cross-compiler-${ARCH}"