view run-from-build.sh @ 521:e7d1db74c942

More fiddling to make /tools vs /usr work.
author Rob Landley <rob@landley.net>
date Tue, 02 Dec 2008 04:57:26 -0600
parents e98ed40c55ef
children dd03aa5996e6
line wrap: on
line source

#!/bin/bash

SAVEPATH="$PATH"
source sources/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"