diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-26 14:48:37 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-27 14:29:20 -0700 |
commit | b25ded67d9e9147922f827e8ca0620a79e0d2140 (patch) | |
tree | 228c4c2e3e30a022163de0f3f2c261401dd7a60b /src/connection/sudo.lisp | |
parent | 856d654f7cff0e2be1feea155303486b18cc8e3f (diff) | |
download | consfigurator-b25ded67d9e9147922f827e8ca0620a79e0d2140.tar.gz |
rework uploading data to be in terms of CONNECTION-UPLOAD
Incremental updates of items of prerequisite data was not implemented, so the
previous meaning of CONNECTION-UPLOAD was not achieving much. This simplifies
the core implementation, should still allow connection types to implement the
method to provide optimisations, and provides a way to implement copying items
of prerequisite data into chroots.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/sudo.lisp')
-rw-r--r-- | src/connection/sudo.lisp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/connection/sudo.lisp b/src/connection/sudo.lisp index 66e0695..5ff326d 100644 --- a/src/connection/sudo.lisp +++ b/src/connection/sudo.lisp @@ -87,6 +87,3 @@ :element-type (stream-element-type input))) input) input))) - -(defmethod connection-upload ((c sudo-connection) from to) - (connection-run c #?"cp ${from} ${to}" nil)) |