From patchwork Mon Apr 25 03:46:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 38889 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0E12A27BBEA; Mon, 25 Apr 2022 13:12:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8848B27BBE9 for ; Mon, 25 Apr 2022 13:12:06 +0100 (BST) Received: from localhost ([::1]:46936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nixZV-0003Lk-Le for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 08:12:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niqwA-00042D-An for guix-patches@gnu.org; Mon, 25 Apr 2022 01:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niqwA-0004Y1-2A for guix-patches@gnu.org; Mon, 25 Apr 2022 01:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1niqw9-0001RU-NZ for guix-patches@gnu.org; Mon, 25 Apr 2022 01:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55105] Guix on Linode update Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 05:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55105 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55105@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16508632195506 (code B ref -1); Mon, 25 Apr 2022 05:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Apr 2022 05:06:59 +0000 Received: from localhost ([127.0.0.1]:32804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niqw5-0001Qi-Tk for submit@debbugs.gnu.org; Mon, 25 Apr 2022 01:06:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:50766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niph1-0007Lc-PZ for submit@debbugs.gnu.org; Sun, 24 Apr 2022 23:47:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niph1-0001Z2-Am for guix-patches@gnu.org; Sun, 24 Apr 2022 23:47:19 -0400 Received: from letbox-vps.us-core.com ([144.172.68.95]:55956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipgz-0007Dk-99 for guix-patches@gnu.org; Sun, 24 Apr 2022 23:47:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lease-up.com; s=2017; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LUm9G1KYdXNpQREEQJ8xPSWXHlqyC//uR+mDN2eItTM=; b=Ur2UQElLOXmQdHT56ze+Xs6Hqn SHU1tz2UVeaeSyG+YxhRZGc0zrKeHl0lC1UStkqxj/gwhy31D3qgay4iS+l7Cm+/y7edtUGJ9iuBT gswvqSVYeixkkTWQCkRYZjfqk++OtId4bS1Y+abc/qG7C5oe4QxpobfA8w0DV30jgf3o=; DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=lease-up.com; s=2020; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LUm9G1KYdXNpQREEQJ8xPSWXHlqyC//uR+mDN2eItTM=; b=VZPfzrYgKn5qHnza/b9I+nvcMc QLO/ews4ksI+6aKbrTTiMt9mjN7HUQyInniMeF6Z7PHk9NSIep+I2Skge+BA==; Received: from mail-vk1-f181.google.com ([209.85.221.181]) by letbox-vps.us-core.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nipgs-003Vbk-IO for guix-patches@gnu.org; Sun, 24 Apr 2022 20:47:10 -0700 Received: by mail-vk1-f181.google.com with SMTP id s68so6621190vke.6 for ; Sun, 24 Apr 2022 20:47:10 -0700 (PDT) X-Gm-Message-State: AOAM530px3wVMEIDv6wcPagFFhwLegA0vXtQR7vbrzrBE2dvpFKpnMBJ OSLOMBFPdisKnO11FOHJO+rSTd1Su+yFurvXMEw= X-Google-Smtp-Source: ABdhPJw1Z6XPx8wfm4iHFcPltjgLlUI0ZabAjVVnd3FJk5EpyaeiK7dXHRBV1rN3EvwxRqiRWTgXbEVQsl9ZomEdX3o= X-Received: by 2002:a1f:2dd1:0:b0:34d:315e:cb1e with SMTP id t200-20020a1f2dd1000000b0034d315ecb1emr2145196vkt.28.1650858429816; Sun, 24 Apr 2022 20:47:09 -0700 (PDT) MIME-Version: 1.0 From: Felix Lechner Date: Sun, 24 Apr 2022 20:46:32 -0700 X-Gmail-Original-Message-ID: Message-ID: Received-SPF: pass client-ip=144.172.68.95; envelope-from=felix.lechner@lease-up.com; helo=letbox-vps.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 25 Apr 2022 01:06:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 25 Apr 2022 08:11:14 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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/ From d87346efa65067f0dff58c59d76d70862c7d5fc3 Mon Sep 17 00:00:00 2001 From: Felix Lechner 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