aboutsummaryrefslogtreecommitdiff
path: root/src/connection
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-07-02 14:37:54 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-10 19:39:58 -0700
commit9533d3dde13d3ca06301514398551b90d291586e (patch)
treef86795f9af23fd7fcb6439d38fa28ff71254f5a5 /src/connection
parentbf8e029d65eefd266c8c056662a83186cabb4a03 (diff)
downloadconsfigurator-9533d3dde13d3ca06301514398551b90d291586e.tar.gz
add INSTALLER:CLEANLY-INSTALLED-ONCE & some utils
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection')
-rw-r--r--src/connection/sbcl.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/connection/sbcl.lisp b/src/connection/sbcl.lisp
index 1da961c..fb862aa 100644
--- a/src/connection/sbcl.lisp
+++ b/src/connection/sbcl.lisp
@@ -35,6 +35,13 @@ recommended."))
(unless (zerop (mrun :for-exit "command" "-v" "sbcl"))
;; If we're not the final hop then we don't know the OS of the host to
;; which we're currently connected, so we can't apply SBCL-AVAILABLE.
+ ;;
+ ;; TODO In the case of INSTALLER:CLEANLY-INSTALLED-ONCE this code will
+ ;; have us trying to use apt to install sbcl on a Fedora host, say, upon
+ ;; the first connection, before Debian has been installed. Perhaps we
+ ;; should just have some code which tries to install sbcl based on the
+ ;; package manager(s) it can find on PATH. Could reuse that code for
+ ;; CHROOT::%DEBOOTSTRAP-MANUALLY-INSTALLED.
(if remaining
(failed-change "sbcl not on PATH and don't know how to install.")
(sbcl-available)))