[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to test modified shepherd services
From: |
Attila Lendvai |
Subject: |
Re: How to test modified shepherd services |
Date: |
Mon, 20 Dec 2021 10:00:24 +0000 |
i have just finished my first Guix service. for now it's a PR for that other
channel, so i'll copy-paste some stuff from it:
Run with something like this:
$(guix system --no-graphic vm path/to/swarm.scm) -m 2048
$(./pre-inst-env guix system --no-graphic vm /path/to/swarm.scm) -m 2048
this will build and boot an operating-system object in a Qemu VM, in the same
terminal.
the file should return a simple-operating-system object, optionally wrapped
into a marionette-operating-system if you also want to write/run automated
tests.
i'll send you the link to the actual code in a private email.
- attila
PGP: 5D5F 45C7 DFCD 0A39