unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 85476854f3c9b8eabba15915ada821ebf96b7259 3419 bytes (raw)
name: gnu/system/examples/raspberry-pi-64-nfs-root.tmpl 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
 
;; -*- mode: scheme; -*-
;; This is an operating-system configuration template of a
;; 64-bit minimal system for a Raspberry Pi with an NFS root file-system.

;; It neither installs firmware nor device-tree files for the Raspberry Pi.
;; It just assumes them to be existing in boot/efi in the same way that some
;; UEFI firmware with ACPI data is usually assumed to be existing on PCs.

;; It expects the boot/efi directory to be served via TFTP and the root
;; file-system to be served via NFS. See the grub-efi-netboot-bootloader
;; description in the manual for more details.

(use-modules (gnu)
             (gnu artwork)
             (gnu system nss))
(use-service-modules admin
                     avahi
                     networking
                     ssh)
(use-package-modules linux
                     raspberry-pi
                     ssh)

(define-public raspberry-pi-64-nfs-root
  (operating-system
    (host-name "raspberrypi-guix")
    (timezone "Europe/Berlin")
    (bootloader (list (bootloader-configuration
                        (bootloader u-boot-rpi-bootloader)
                        (targets (list (bootloader-target
                                         (type 'install)
                                         (path "/boot/efi")))))
                      (bootloader-configuration
                        (bootloader grub-efi-bootloader)
                        (targets (list (bootloader-target
                                         (type 'esp)
                                         (path "/boot/efi"))))
                        (theme
                          (grub-theme
                            (resolution '(1920 . 1080))
                            (image (file-append %artwork-repository
                                     "/grub/GuixSD-fully-black-16-9.svg")))))))
    (kernel-arguments '("ip=dhcp"))
    (kernel (customize-linux #:linux linux-libre-arm64-generic
                             #:extra-version "arm64-generic-netboot"
                             #:configs '("CONFIG_NFS_SWAP=y"
                                         "CONFIG_USB_USBNET=y"
                                         "CONFIG_USB_LAN78XX=y"
                                         "CONFIG_USB_NET_SMSC95XX=y")))
    (initrd-modules '())
    (file-systems (cons* (file-system
                           (mount-point "/")
                           (type "nfs")
                           (device ":/export/raspberrypi/guix")
                           (options "addr=10.20.30.40,vers=4.1"))
                         %base-file-systems))
    (swap-devices (list (swap-space
                         (target "/run/swapfile"))))
    (users (cons* (user-account
                   (name "pi")
                   (group "users")
                   (supplementary-groups '("wheel" "netdev" "audio" "video"))
                   (home-directory "/home/pi"))
                  %base-user-accounts))
    (packages (cons* openssh
                     %base-packages))
    (services (cons* (service avahi-service-type)
                     (service dhcp-client-service-type)
                     (service ntp-service-type)
                     (service openssh-service-type
                              (openssh-configuration
                               (x11-forwarding? #t)))
                     %base-services))
    (name-service-switch %mdns-host-lookup-nss)))

raspberry-pi-64-nfs-root

debug log:

solving 85476854f3 ...
found 85476854f3 in https://yhetil.org/guix-patches/a3ca6f369ad71d685916362c92be4469a7fb055b.1722741997.git.lilah@lunabee.space/ ||
	https://yhetil.org/guix-patches/3ba36c6fa8e419e45e92e1a80fd9ff056cddba37.1722989488.git.lilah@lunabee.space/ ||
	https://yhetil.org/guix-patches/362227a8be0534e3fcb6f6e0822105e40668dac7.1722803521.git.lilah@lunabee.space/ ||
	https://yhetil.org/guix-patches/df4d441610f9f6b871d019b61ef4b7dc99312212.1722912293.git.lilah@lunabee.space/ ||
	https://yhetil.org/guix-patches/04ccc75cd1a5ad6d9e7b3c69bbf37049bdc20e7b.1722794774.git.lilah@lunabee.space/ ||
	https://yhetil.org/guix-patches/04305a30e6f90c549268499d2ba487d67bc0e9d7.1727201267.git.herman@rimm.ee/
found 1baca02491 in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 1baca024912dfd152da2ffeddbb00afde61f8221	gnu/system/examples/raspberry-pi-64-nfs-root.tmpl

applying [1/1] https://yhetil.org/guix-patches/a3ca6f369ad71d685916362c92be4469a7fb055b.1722741997.git.lilah@lunabee.space/
diff --git a/gnu/system/examples/raspberry-pi-64-nfs-root.tmpl b/gnu/system/examples/raspberry-pi-64-nfs-root.tmpl
index 1baca02491..85476854f3 100644

Checking patch gnu/system/examples/raspberry-pi-64-nfs-root.tmpl...
Applied patch gnu/system/examples/raspberry-pi-64-nfs-root.tmpl cleanly.

skipping https://yhetil.org/guix-patches/3ba36c6fa8e419e45e92e1a80fd9ff056cddba37.1722989488.git.lilah@lunabee.space/ for 85476854f3
skipping https://yhetil.org/guix-patches/362227a8be0534e3fcb6f6e0822105e40668dac7.1722803521.git.lilah@lunabee.space/ for 85476854f3
skipping https://yhetil.org/guix-patches/df4d441610f9f6b871d019b61ef4b7dc99312212.1722912293.git.lilah@lunabee.space/ for 85476854f3
skipping https://yhetil.org/guix-patches/04ccc75cd1a5ad6d9e7b3c69bbf37049bdc20e7b.1722794774.git.lilah@lunabee.space/ for 85476854f3
skipping https://yhetil.org/guix-patches/04305a30e6f90c549268499d2ba487d67bc0e9d7.1727201267.git.herman@rimm.ee/ for 85476854f3
index at:
100644 85476854f3c9b8eabba15915ada821ebf96b7259	gnu/system/examples/raspberry-pi-64-nfs-root.tmpl

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).