view run-from-build.sh @ 742:46c4978c9a5c

Add a 60 second timeout to smoketest. (Some qemu failure modes involve hanging.)
author Rob Landley <rob@landley.net>
date Sun, 31 May 2009 02:36:22 -0500
parents ea25e4da724e
children 759adf5a0fe9
line wrap: on
line source

#!/bin/bash

source sources/include.sh || exit 1

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.

./run-emulator.sh --make-hdb 2048 --memory 256 --with-distcc \
	"${BUILD}/cross-compiler-${ARCH}"