unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Lechner <felix.lechner@lease-up.com>
To: 55105@debbugs.gnu.org
Subject: [bug#55105] Guix on Linode update
Date: Sun, 24 Apr 2022 20:46:32 -0700	[thread overview]
Message-ID: <CAFHYt55XgQ8w7U_V9AoU=23dy8LehQqWBo=rSzWPau9xMdjeRA@mail.gmail.com> (raw)

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

Hi,

Attached please find three small suggestions for the Cookbook entry on
how to boot Guix on a Linode. [1] I built it in a pure environment.
The result looked fine with 'info -f'.

Also, as a courtesy I would have copied the authors of a related blog
post [2] but I was not sure whether this message would be public.

Thanks for considering, and also thanks for the neat OS!

Kind regards,
Felix Lechner

[1] https://guix.gnu.org/cookbook/en/html_node/Running-Guix-on-a-Linode-Server.html
[2] https://guix.gnu.org/en/blog/2020/running-guix-system-on-a-linode-server/

[-- Attachment #2: 0001-Three-minor-clarifications-in-Linode-recipe.patch --]
[-- Type: text/x-patch, Size: 2152 bytes --]

From d87346efa65067f0dff58c59d76d70862c7d5fc3 Mon Sep 17 00:00:00 2001
From: Felix Lechner <felix.lechner@lease-up.com>
Date: Sun, 24 Apr 2022 15:37:06 -0700
Subject: [PATCH] Three minor clarifications in Linode recipe.

At first, I right over the remninder to make the Guix disk available as
/dev/sdc in Debian. This makes it more explicit.

The "swap-devices" usage was adapted to the expectations in more recent
versions of Guix.

Finally, the location of the home directory also contains the ficticious user
"janedoe" and should likewise be changed to an actual user name.
---
 doc/guix-cookbook.texi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi
index b4dc9f864c..6b27e01dab 100644
--- a/doc/guix-cookbook.texi
+++ b/doc/guix-cookbook.texi
@@ -2062,7 +2062,8 @@ Filesystem: ext4
 Set it to the remaining size
 @end itemize
 
-In the Configurations tab, press "Edit" on the default Debian profile.
+Next, make the new "Guix" disk available in your Debian profile.
+In the "Configurations" tab, press "Edit" on the default Debian profile.
 Under "Block Device Assignment" click "Add a Device". It should be
 @file{/dev/sdc} and you can select the "Guix" disk. Save Changes.
 
@@ -2136,9 +2137,8 @@ is below. Save the resulting file as @file{guix-config.scm}.
                         (type "ext4"))
                       %base-file-systems))
 
-
-  (swap-devices (list "/dev/sdb"))
-
+  (swap-devices (list (swap-space
+                       (target "/dev/sdb"))))
 
   (initrd-modules (cons "virtio_scsi"    ; Needed to find the disk
                         %base-initrd-modules))
@@ -2175,6 +2175,7 @@ Replace the following fields in the above configuration:
 ; use tzselect to find a correct timezone string
 (timezone "America/New_York") ; if needed replace timezone
 (name "janedoe")              ; replace with your username
+(home-directory "/home/janedoe")) ; replace with your home directory
 ("janedoe" ,(local-file "janedoe_rsa.pub")) ; replace with your ssh key
 ("root" ,(local-file "janedoe_rsa.pub")) ; replace with your ssh key
 @end lisp
-- 
2.30.2


             reply	other threads:[~2022-04-25 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25  3:46 Felix Lechner [this message]
2023-11-13 23:32 ` [bug#55105] [PATCH] Guix on Linode update Jonathan Brielmaier
2023-11-14  0:50 ` [bug#55105] Typo Felix Lechner via Guix-patches via

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='CAFHYt55XgQ8w7U_V9AoU=23dy8LehQqWBo=rSzWPau9xMdjeRA@mail.gmail.com' \
    --to=felix.lechner@lease-up.com \
    --cc=55105@debbugs.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).