aboutsummaryrefslogtreecommitdiff
path: root/src/connection/sbcl.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-27 16:45:33 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-27 17:04:28 -0700
commit563ecad0707ff24709e87e7c2fee4d86e5d33444 (patch)
treeedcbd0521311c3cd97966d24be65e276dd1a72b4 /src/connection/sbcl.lisp
parentbbf1e525bcefddf079f78da23639d40a71b5db00 (diff)
downloadconsfigurator-563ecad0707ff24709e87e7c2fee4d86e5d33444.tar.gz
convert "upload to root Lisp" error into a warning
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/sbcl.lisp')
-rw-r--r--src/connection/sbcl.lisp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connection/sbcl.lisp b/src/connection/sbcl.lisp
index 6848f5e..640854d 100644
--- a/src/connection/sbcl.lisp
+++ b/src/connection/sbcl.lisp
@@ -25,6 +25,12 @@
(debianlike (apt:installed "sbcl"))))
(defmethod establish-connection ((type (eql :sbcl)) remaining &key)
+ (when (lisp-connection-p)
+ (warn
+ "Looks like you might be starting a fresh Lisp image directly from the root
+Lisp. This can mean that prerequisite data gets extracted from encrypted
+stores and stored unencrypted under ~~/.cache, and as such is not
+recommended."))
(ignoring-hostattrs (sbcl-available))
(request-lisp-systems)
(upload-all-prerequisite-data)