diff --git a/bin/read_config b/bin/read_config index d497d40..f9dd3ab 100644 --- a/bin/read_config +++ b/bin/read_config @@ -2,7 +2,7 @@ FS_SIZE=512 MEM=1024 if [ "x$APP" == x ] -then export APP=/app +then export APP=/app/root fi . "$APP/config.sh" diff --git a/bin/uml_run b/bin/uml_run index f09323f..023d5e5 100755 --- a/bin/uml_run +++ b/bin/uml_run @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x echo "$1" > "$APP/uml_command" TEMP="$APP" "$APP/uml/uml" root=/dev/root rw rootflags=/ rootfstype=hostfs init="$APP/uml/init" eth0=slirp,10.0.2.15,"$APP/uml/slirp" mem=${MEM}M quiet app="$APP"