From: Attila Lendvai <attila@lendvai.name>
To: Nathan Dehnel <ncdehnel@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: How to test modified shepherd services
Date: Mon, 20 Dec 2021 10:00:24 +0000 [thread overview]
Message-ID: <Zyd1k7JXXItNkC58eD89tGyktColD-AbG2lk-KiQ_bhTPSvnb5F0TYEjWSATFT13eX06k04GGQVP0Aa18JNEGvmPOoDERHlX8-IrJU6IlKc=@lendvai.name> (raw)
In-Reply-To: <CAEEhgEtof=wmRLv=wh9sXm9NhE0F+PvaMxE6P7HbXs9Z+bdVjw@mail.gmail.com>
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
next prev parent reply other threads:[~2021-12-20 18:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-19 22:47 How to test modified shepherd services Nathan Dehnel
2021-12-20 3:28 ` raingloom
2021-12-20 10:00 ` Attila Lendvai [this message]
2021-12-20 22:38 ` Nathan Dehnel
2021-12-20 14:08 ` Simon South
2021-12-27 3:20 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='Zyd1k7JXXItNkC58eD89tGyktColD-AbG2lk-KiQ_bhTPSvnb5F0TYEjWSATFT13eX06k04GGQVP0Aa18JNEGvmPOoDERHlX8-IrJU6IlKc=@lendvai.name' \
--to=attila@lendvai.name \
--cc=guix-devel@gnu.org \
--cc=ncdehnel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.