Mercurial > hg > aboriginal
view run-from-build.sh @ 770:bbcac592f917
Two new busybox applets showed up that don't build on most hosts.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 01 Jul 2009 02:19:56 -0500 |
parents | d0157468f73d |
children | e373d2b6d0b8 |
line wrap: on
line source
#!/bin/bash source sources/include.sh || exit 1 read_arch_dir "$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. trap "pkill -P$$" EXIT ./run-emulator.sh --make-hdb 2048 --memory 256 --with-distcc \ "${BUILD}/cross-compiler-${ARCH}"