Added debug prints to uml_run

This commit is contained in:
sleirsgoevy 2017-12-10 21:26:24 +03:00
parent 5672dbdc23
commit 3a151de543
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"