From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sH5GHDHrfWOvfQEAbAwnHQ (envelope-from ) for ; Wed, 23 Nov 2022 10:43:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eOE+HDHrfWNY8AAA9RJhRA (envelope-from ) for ; Wed, 23 Nov 2022 10:43:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C92DC398C1 for ; Wed, 23 Nov 2022 10:43:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxmHZ-0002VH-Sc; Wed, 23 Nov 2022 04:43:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxmHX-0002U6-55 for guix-patches@gnu.org; Wed, 23 Nov 2022 04:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxmHW-0000xI-Sx for guix-patches@gnu.org; Wed, 23 Nov 2022 04:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxmHW-0005SP-AH for guix-patches@gnu.org; Wed, 23 Nov 2022 04:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59511] Network Support for pine64 base image Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Nov 2022 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59511 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 59511@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166919654820932 (code B ref -1); Wed, 23 Nov 2022 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2022 09:42:28 +0000 Received: from localhost ([127.0.0.1]:53671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxmGy-0005RY-Fv for submit@debbugs.gnu.org; Wed, 23 Nov 2022 04:42:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:37248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxmGv-0005RO-F7 for submit@debbugs.gnu.org; Wed, 23 Nov 2022 04:42:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxmGv-0002Pg-9n for guix-patches@gnu.org; Wed, 23 Nov 2022 04:42:25 -0500 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxmGs-0000rx-LS for guix-patches@gnu.org; Wed, 23 Nov 2022 04:42:25 -0500 Received: from silvi (unknown [85.195.207.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 64EC0401CC for ; Wed, 23 Nov 2022 10:41:59 +0100 (CET) From: Gabriel Wicki Date: Wed, 23 Nov 2022 10:41:56 +0100 Message-ID: <87o7syknx7.fsf@erlikon.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669196592; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=WIjnkPyZWoQqbH/Q36px4wc7bHr6bLdRR7I0WDqdItA=; b=HESGgu3WCWIt/0HaGGbaxFSNrzb53p8ONru0p70g6+VznuYD7QjTD+evtaOEB17lSswnel 3shVAz1+f44CI0cXq8pk037tR9F/oFMTCAIohxuuozA8RrTKQJUX7HNaKGjgge5bHIzwDg Z0YcbYtryVuKpVWgrPSzojvlpA5PB6DBlZJBDMUQUnb9L38xN0M/MLPQWEu3uG3jvKjW0j CxjeLGEwjtoombSLF8Iq/G13u+kf+hIBF/gK9pZGqupDVKTvttDNrM4uQbo4pZdR8C9tPO UtgdhjZR3ClWfi+pCg4mzjdiKhyj1rrHcIvJGyZyVLsHuIrU3mbR7db4+jZppw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669196592; a=rsa-sha256; cv=none; b=pvMr6dW1LFjp3n5KvySx7JbfZyhtQFjEDd8JaA4eR+ShNi4W9NxLb+4Q2vzVYZQFJjcVXi ELp/j9yPCM9U8/dukhK9BtFDW+QZucP447Kaux2T/SFO8Xen7iHa9G0WCdO2/4brc75M7S AhIMTg+jiKqJr8bBPDCyWNySz1uxGZE5hjfUdkbwUmfkI54ghDMnQ5G1/6nsyffWi/HYGR RkabZeeVmj1igXCGXh1YN3yI2tI2cKuZa1AITDEQkHP8Iqv5EmRcGhgHtJLc/1ml8i8JoO Swe3lACrNDWHAZxrsId/0ZjVwwgcCHzI74i7ETOOR3t6ijFW1FolLRnXM89ZNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.69 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C92DC398C1 X-Spam-Score: -2.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: viRrCNu4obB8 Hi Overcoming some relatively basic barriers putting my Pine64 LTS board in operation I figured a small patch to the base-image in the Guix repo might be a gain for all. So here is my patch go give the Pine64 DHCP, NTP and Certificates so that a `guix pull` and potential reconfigure can take place without great hassle. With nothing but the best wishes Gabriel >From 70a0f09a1ba1bdc916cebaa3f247b66a6ad0d669 Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Wed, 16 Nov 2022 20:32:10 +0100 Subject: [PATCH] system: Add networking support to pine64 image * gnu/system/images/pine64.scm (pine64-barebones-os) [services]: Add dhcp-client-service-type and ntp-service-type to the list of services. [packages]: Add nss-certs to the list of packages. --- gnu/system/images/pine64.scm | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/gnu/system/images/pine64.scm b/gnu/system/images/pine64.scm index a2d471b802..3feb69764d 100644 --- a/gnu/system/images/pine64.scm +++ b/gnu/system/images/pine64.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2020 Mathieu Othacehe +;;; Copyright =C2=A9 2022 Gabriel Wicki ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,9 +22,11 @@ (define-module (gnu system images pine64) #:use-module (gnu bootloader u-boot) #:use-module (gnu image) #:use-module (gnu packages linux) + #:use-module (gnu packages certs) #:use-module (guix platforms arm) #:use-module (gnu services) #:use-module (gnu services base) + #:use-module (gnu services networking) #:use-module (gnu system) #:use-module (gnu system file-systems) #:use-module (gnu system image) @@ -47,13 +50,17 @@ (define pine64-barebones-os (mount-point "/") (type "ext4")) %base-file-systems)) - (services (cons (service agetty-service-type - (agetty-configuration - (extra-options '("-L")) ; no carrier detect - (baud-rate "115200") - (term "vt100") - (tty "ttyS0"))) - %base-services)))) + (services (cons* + (service agetty-service-type + (agetty-configuration + (extra-options '("-L")) ; no carrier detect + (baud-rate "115200") + (term "vt100") + (tty "ttyS0"))) + (service dhcp-client-service-type) + (service ntp-service-type) + %base-services)) + (packages (cons nss-certs %base-packages)))) =20 (define pine64-image-type (image-type --=20 2.38.0