Skip to contentSkip to conversation

standalone: Mention sa-init-db on missing standalone.db

PATCH New Ian Jackson 1 participant 1 message Sep 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 standalone | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
standalone +1 -1
index 499cb6c1..977ad50c 100755
@@ -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
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel