view run-from-build.sh @ 682:d79f936c8f42

Fix qemu build so it can find pc-bios directory.
author Rob Landley <rob@landley.net>
date Tue, 31 Mar 2009 06:40:41 -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}"