From 3a151de54325c8fcc11e329bf59950eb6ce2cb94 Mon Sep 17 00:00:00 2001 From: sleirsgoevy Date: Sun, 10 Dec 2017 21:26:24 +0300 Subject: [PATCH] Added debug prints to uml_run --- bin/read_config | 2 +- bin/uml_run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"