[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH] standalone: Mention sa-init-db on missing standalone.db



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@xxxxxxxxxxxxx>
---
 standalone | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/standalone b/standalone
index 499cb6c1..977ad50c 100755
--- a/standalone
+++ b/standalone
@@ -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
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.