view run-from-build.sh @ 745:4abea1d0914f

Change a comment to silence a warning.
author Rob Landley <rob@landley.net>
date Thu, 11 Jun 2009 19:04:51 -0500
parents 759adf5a0fe9
children 93f2e856357e
line wrap: on
line source

#!/bin/bash

source sources/include.sh || exit 1

SYSDIR="${BUILD}/system-image-$ARCH_NAME"

if [ ! -f "$SYSDIR/run-emulator.sh" ]
then
  [ -z "$FAIL_QUIET" ] && echo "No $SYSDIR/run-emulator.sh" >&2
  exit 1
fi

cd "$SYSDIR" || 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}"