From bd5799967f70f2dcfbf03ea04dc1b6830413fbae Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 3 Oct 2023 14:27:57 +0200 Subject: [PATCH] Add base64 tarball target The tarball can be copied to the VM through the serial port with the following command: # cat > mumble-vm.tar.xz.b64 the user then pastes the base64 content and types ctrl+d and this results in the file being written. The content can then be extracted with the following commands: # base64 -d mumble-vm.tar.xz.b64 > mumble-vm.tar.xz # tar xf mumble-vm.tar.xz Signed-off-by: Denis 'GNUtoo' Carikli --- .gitignore | 1 + Makefile.am | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 93b9df5..f80a3d3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ Makefile.in missing mumble-vm.tar mumble-vm.tar.xz +mumble-vm.tar.xz.b64 mumble-vm-machine.scm mumble-vm-system.scm signing-key.pub diff --git a/Makefile.am b/Makefile.am index 8169984..18bb43d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,5 +96,8 @@ mumble-vm.tar: $(TARBALL_SOURCE) mumble-vm.tar.xz: mumble-vm.tar xz -f -9e --verbose $< +mumble-vm.tar.xz.b64: mumble-vm.tar.xz + base64 $< > $@ + deploy: $(IMAGE_SOURCE) guix deploy -L . mumble-vm-machine.scm