# HG changeset patch # User Rob Landley # Date 1280118406 18000 # Node ID 29c86692f80d3dc63078a5808bbdb396e01a29c2 # Parent 886a2ea90bc198826784f70dff579c84135623de Automatically use simple-root-filesystem if root-filesystem isn't avaialble. diff -r 886a2ea90bc1 -r 29c86692f80d system-image.sh --- a/system-image.sh Sun Jul 25 23:25:58 2010 -0500 +++ b/system-image.sh Sun Jul 25 23:26:46 2010 -0500 @@ -14,7 +14,9 @@ if [ -z "$NATIVE_ROOT" ] then [ -z "$NO_NATIVE_COMPILER" ] && - NATIVE_ROOT="$BUILD/root-filesystem-$ARCH" || + NATIVE_ROOT="$BUILD/root-filesystem-$ARCH" + + [ -e "$NATIVE_ROOT" ] || NATIVE_ROOT="$BUILD/simple-root-filesystem-$ARCH" fi