view emulator-build.sh @ 446:06a005fcdacc

Teach emulator-build.sh to fsck the root filesystem before running it.
author Rob Landley <rob@landley.net>
date Mon, 03 Nov 2008 21:00:46 -0600
parents 25b18621de1b
children
line wrap: on
line source

#!/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-with-distcc.sh "$CROSS"