www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 30789e5d5f184a8f06a2f6eded4cf087e0a7cf19
parent 778497fb8a1bec74f472a41819afff021da78758
Author: Georges Dupéron <georges.duperon@gmail.com>
Date:   Thu,  6 Sep 2018 23:34:19 +0200

Boot the vm, attaching the inputs as disks

Diffstat:
A.gitignore | 2++
MMakefile | 10++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +*.nar +\ No newline at end of file diff --git a/Makefile b/Makefile @@ -1,2 +1,8 @@ -all: - "$$(guix system vm-image config.scm)" +all: hello.nar /etc/guix/signing-key.pub Makefile + qemu-system-x86_64 -enable-kvm -m 256 \ + "$$(guix system vm-image config.scm)" \ + -drive format=raw,readonly,file=hello.nar,index=0,if=ide,index=1,media=disk \ + -drive format=raw,readonly,file=/etc/guix/signing-key.pub,index=0,if=ide,index=2,media=disk + +%.nar: Makefile + guix archive --export --recursive $* > $@