comparison run-from-build.sh @ 779:6caf372a8b12

Teach smoketest to skip creation of hdb for /home when not needed.
author Rob Landley <rob@landley.net>
date Fri, 03 Jul 2009 19:46:48 -0500
parents e373d2b6d0b8
children aea72ecff868
comparison
equal deleted inserted replaced
778:e373d2b6d0b8 779:6caf372a8b12
12 exit 1 12 exit 1
13 fi 13 fi
14 14
15 cd "$SYSDIR" || exit 1 15 cd "$SYSDIR" || exit 1
16 16
17 [ -z "$SKIP_HOME" ] && [ -z "$MAKE_HDB" ] && MAKE_HDB="--make-hdb 2048"
18
17 # A little paranoia. 19 # A little paranoia.
18 [ -f "image-${ARCH}.ext2" ] && fsck.ext2 -y "image-${ARCH}.ext2" </dev/null 20 [ -f "image-${ARCH}.ext2" ] && fsck.ext2 -y "image-${ARCH}.ext2" </dev/null
19 21
20 # And run it, using the distccd we built (if necessary) and the cross-compiler. 22 # And run it, using the distccd we built (if necessary) and the cross-compiler.
21 23
22 trap "killtree $$" EXIT 24 trap "killtree $$" EXIT
23 25
24 ./run-emulator.sh --make-hdb 2048 --memory 256 --with-distcc \ 26 ./run-emulator.sh $MAKE_HDB --memory 256 --with-distcc \
25 "${BUILD}/cross-compiler-${ARCH}" 27 "${BUILD}/cross-compiler-${ARCH}"