Mercurial > hg > aboriginal
diff run-from-build.sh @ 499:9d5fd8e1467b
Merge run-*.sh so run-emulator.sh takes command line arguments. Rename emulator-build.sh to be more clear what it does.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 28 Nov 2008 14:58:08 -0600 |
parents | emulator-build.sh@06a005fcdacc |
children | e98ed40c55ef |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run-from-build.sh Fri Nov 28 14:58:08 2008 -0600 @@ -0,0 +1,14 @@ +#!/bin/bash + +SAVEPATH="$PATH" +source include.sh +PATH="$SAVEPATH" + +cd "${BUILD}/system-image-$ARCH" || exit 1 + +# A little paranoia. +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 --with-distcc "$CROSS"