unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: crodges <crodges@csphy.pw>, guix-devel@gnu.org
Subject: Re: Wireguard
Date: Wed, 06 Oct 2021 20:35:02 +0200	[thread overview]
Message-ID: <eaaeed96d2cb51677a1351e912e1badd47ca6e71.camel@telenet.be> (raw)
In-Reply-To: <9671087.XobH8ZdYvX@sceadufaex>

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]

crodges schreef op wo 06-10-2021 om 09:28 [-0700]:
> [...]
> I was able to create and run the vm. How can I build a .iso image with my code 
> changes to install in a vps? I tried to change the code, compile, run
> 
> guix system image -t iso9660 gnu/system/install.scm

Don't forget ./pre-inst-env:

make && ./pre-inst-env guix system image -t iso9660 gnu/system/install.scm

Also, the installer won't use your locally modified guix.  IIUC,
it will use the 'guix' package, which is normally only used by a few services
like cuirass and guix-daemon, and for the initial installation.

It shouldn't be necessary to reinstall Guix System, I'd recommend sending a copy of
the locally-modified guix repo to your VM, build it, and reconfigure inside the VM
(./pre-inst-env guix system reconfigure ...) instead.

However, it should also be possible to modify the guix used by the installer, using the
procedure (current-guix) and and the macro modify-services, see gnu/tests/install.scm
for an example.

> then I grabbed the .iso from the /gnu/store
> 
> but after installing it, it didn't contain my changes. Am I grabbing the wrong 
> iso, if so, how should I do this? I may be confusing guix installed in my pc 
> with the one I'm making changes.

Greetins,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2021-10-06 18:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-29 21:53 Wireguard crodges
2021-09-01  7:07 ` Wireguard Maxime Devos
2021-09-22 16:03   ` Wireguard crodges
2021-09-22 16:27     ` Wireguard crodges
2021-09-22 17:23     ` Wireguard Maxime Devos
2021-10-06 16:28       ` Wireguard crodges
2021-10-06 18:35         ` Maxime Devos [this message]
2021-10-15 16:26           ` Wireguard crodges

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eaaeed96d2cb51677a1351e912e1badd47ca6e71.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=crodges@csphy.pw \
    --cc=guix-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).