]> xenbits.xensource.com Git - osstest.git/commitdiff
standalone: Mention sa-init-db on missing standalone.db
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 19 Sep 2018 10:29:18 +0000 (11:29 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Mon, 24 Sep 2018 09:59:53 +0000 (10:59 +0100)
I usually do not use standalone mode.  But I use it for
  standalone-generate-dump-flight-runvars

That means I have to have a standalone.db.  ./standalone prints a
message about standalone-reset, which does a lot of undesirable stuff.

Mention sa-init-db too.  That just creates the db with empty tables
and is sufficient for standalone-generate-dump-flight-runvars.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
standalone

index 499cb6c1d70869ea4513232d95472e8a4956b8df..977ad50c103578a11adbff162be7001338659e8b 100755 (executable)
@@ -148,7 +148,7 @@ fi
 
 db="standalone.db"
 if [ ! -f $db ] ; then
-    fail "No $db? Run standalone-reset."
+    fail "No $db? Run standalone-reset, or ./sa-init-db $db."
 fi
 
 if [ -z "$config" ] ; then