Mercurial > hg > aboriginal
changeset 1176:29c86692f80d
Automatically use simple-root-filesystem if root-filesystem isn't avaialble.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 25 Jul 2010 23:26:46 -0500 |
parents | 886a2ea90bc1 |
children | 7ca3dfbc9e06 |
files | system-image.sh |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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