aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/deployment.lisp4
-rw-r--r--src/host.lisp4
-rw-r--r--src/property/chroot.lisp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/deployment.lisp b/src/deployment.lisp
index cd5c5a7..5a70e15 100644
--- a/src/deployment.lisp
+++ b/src/deployment.lisp
@@ -64,9 +64,7 @@ DEPLOY, DEPLOY-THESE, and the function definitions established by DEFDEPLOY,
DEFDEPLOY-THESE, etc., rather than calling this function directly. However,
code which programmatically constructs deployments will need to call this."
(%consfigure (preprocess-connections connections)
- (if additional-properties
- (union-propspec-into-host host additional-properties)
- host)))
+ (union-propspec-into-host host additional-properties)))
(defun deploy-these* (connections host properties)
"Like DEPLOY*, but replace the properties of HOST with PROPERTIES.
diff --git a/src/host.lisp b/src/host.lisp
index 5c8b6e9..35336da 100644
--- a/src/host.lisp
+++ b/src/host.lisp
@@ -111,6 +111,10 @@ Called by properties which set up such subhosts, like CHROOT:OS-BOOTSTRAPPED."
:hostattrs (copy-list (hostattrs host))
:propspec (append-propspecs (host-propspec host) propspec)))
+(defmethod union-propspec-into-host
+ ((host unpreprocessed-host) (propspec null))
+ host)
+
(defmethod replace-propspec-into-host
((host unpreprocessed-host) (propspec unpreprocessed-propspec))
;; we have to preprocess HOST as functions that call us want the return
diff --git a/src/property/chroot.lisp b/src/property/chroot.lisp
index 4ae4307..994e548 100644
--- a/src/property/chroot.lisp
+++ b/src/property/chroot.lisp
@@ -61,9 +61,7 @@
(defproplist os-bootstrapped-for :lisp
(options root host &optional additional-properties
&aux
- (host (if additional-properties
- (union-propspec-into-host host additional-properties)
- host))
+ (host (union-propspec-into-host host additional-properties))
(child-host
(make-child-host
:hostattrs (hostattrs host)