GNU bug report logs - #59511
Network Support for pine64 base image

Previous Next

Package: guix-patches;

Reported by: Gabriel Wicki <gabriel <at> erlikon.ch>

Date: Wed, 23 Nov 2022 09:43:02 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59511 in the body.
You can then email your comments to 59511 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59511; Package guix-patches. (Wed, 23 Nov 2022 09:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gabriel Wicki <gabriel <at> erlikon.ch>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 23 Nov 2022 09:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gabriel Wicki <gabriel <at> erlikon.ch>
To: guix-patches <at> gnu.org
Subject: Network Support for pine64 base image
Date: Wed, 23 Nov 2022 10:41:56 +0100
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 <gabriel <at> erlikon.ch>
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 © 2020 Mathieu Othacehe <m.othacehe <at> gmail.com>
+;;; Copyright © 2022 Gabriel Wicki <gabriel <at> erlikon.ch>
 ;;;
 ;;; 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))))
 
 (define pine64-image-type
   (image-type
-- 
2.38.0





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Fri, 09 Dec 2022 03:04:01 GMT) Full text and rfc822 format available.

Notification sent to Gabriel Wicki <gabriel <at> erlikon.ch>:
bug acknowledged by developer. (Fri, 09 Dec 2022 03:04:01 GMT) Full text and rfc822 format available.

Message #10 received at 59511-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Gabriel Wicki <gabriel <at> erlikon.ch>
Cc: 59511-done <at> debbugs.gnu.org
Subject: Re: bug#59511: Network Support for pine64 base image
Date: Fri, 09 Dec 2022 11:04:06 +0800
Gabriel Wicki <gabriel <at> erlikon.ch> writes:

> 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 <gabriel <at> erlikon.ch>
> Date: Wed, 16 Nov 2022 20:32:10 +0100
> Subject: [PATCH] system: Add networking support to pine64 image

Applied, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Jan 2023 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.