aboutsummaryrefslogtreecommitdiff
;; -*- mode: scheme; -*-
;; This is an operating system configuration template
;; for a "bare bones" setup on BeagleBone Black board.

(use-modules (gnu) (gnu bootloader u-boot))
(use-service-modules networking)
(use-package-modules bootloaders screen ssh)

(operating-system
  (host-name "komputilo")
  (timezone "Europe/Berlin")
  (locale "en_US.utf8")

  ;; Assuming /dev/mmcblk1 is the eMMC, and "my-root" is
  ;; the label of the target root file system.
  (bootloader (bootloader-configuration
               (bootloader u-boot-beaglebone-black-bootloader)
               (targets '("/dev/mmcblk1"))))

  ;; This module is required to mount the SD card.
  (initrd-modules (cons "omap_hsmmc" %base-initrd-modules))

  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "alice")
                (comment "Bob's sister")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video")))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (append (list screen openssh) %base-packages))

  (services (append (list (service dhcp-client-service-type)
                          ;; mingetty does not work on serial lines.
                          ;; Use agetty with board-specific serial parameters.
                          (service agetty-service-type
                                   (agetty-configuration
                                    (extra-options '("-L"))
                                    (baud-rate "115200")
                                    (term "vt100")
                                    (tty "ttyO0"))))
                    %base-services)))
perl)[native-inputs]: Update perl-cross to 1.6. Change-Id: I4a77f51a6757ad4aed9bcca8f9bbbf2cbd162e15 Janneke Nieuwenhuizen 2024-10-15gnu: perl-pod-simple: Update to 3.45....* gnu/packages/perl.scm (perl-pod-simple): Update to 3.45. Change-Id: I9933661f49f35da2a3b6ca2ff678b20831661826 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> gemmaro 2024-10-15gnu: Add perl-yaml-syck....* gnu/packages/perl.scm (perl-yaml-syck): New variable. Change-Id: I49fd33875f50357834262a8fc8d8a117c3f492b6 Janneke Nieuwenhuizen 2024-09-16gnu: perl-critic: Make the perlcritic command available....* gnu/packages/perl.scm (perl-critic)[arguments]<#:phases>: Add phases to wrap the perlcritic command and test it works. [inputs]: Add bash-minimal for wrap-program. Change-Id: I8c506e655fdf2b1c33e850579c6a5adcbbd37192 Signed-off-by: Ludovic Courtès <ludo@gnu.org> gemmaro 2024-09-14gnu: perl-sub-override: Fix another typo in the description....* gnu/packages/perl.scm (perl-sub-override): Fix another typo in the description field. Change-Id: Iab36d7d2dc23d146114ab1aa65a845d19724e1eb Florian Pelz 2024-09-14gnu: perl-sub-override: Fix typo in the description field....* gnu/packages/perl.scm (perl-sub-override): Fix typo in the description field. Change-Id: I43abd6f035fe641c3f53ff3fe7d352c8d03c2a59 Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de> Rostislav Svoboda 2024-08-31gnu: perl-inline-c: Update to 0.82_001....* gnu/packages/perl.scm (perl-inline-c): Update to 0.82_001. Change-Id: I1a9e141e6e6af45db785a2a0c4220417b96c3c64 Josselin Poiret 2024-08-31gnu: perl: Add 'bash' input for 'wrap-program'....It is required for cross-compilation. * gnu/packages/perl.scm (perl-eval-withlexicals)[inputs]: Add 'bash-minimal'. (perl-sgmls)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Maxime Devos 2024-08-31gnu: libxslt: Set search-paths for XML and SGML catalogs....According to xsltproc manpage it supports both XML_CATALOG_FILES and SGML_CATALOG_FILES for catalog lookup. Since the native-search-paths field is not thunked, doing (package-native-search-paths libxslt) can lead to module import cycles so we define a %libxslt-search-paths variable to avoid this kind of trouble. * guix/search-paths.scm (%libxslt-search-paths): New variable. * gnu/packages/xml.scm (libxslt)[native-search-paths]: Set to %libxslt-search-paths. * gnu/packages/perl.scm (perl-app-xml-docbook-builder)[native-search-paths]: Ditto. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-31search-paths: Add $XML_CATALOG_FILES and $SGML_CATALOG_FILES....These variables are used by some packages for XML/SGML catalog lookups. * guix/search-paths ($XML_CATALOG_FILES, $SGML_CATALOG_FILES): New variable, extracted from … * gnu/packages/xml.scm (libxml2, opensp)[native-search-paths]: … here. Refer to the variables from (guix search-paths) respectively. * gnu/packages/perl.scm (perl-app-xml-docbook-builder)[native-search-paths]: Use $XML_CATALOG_FILES. * doc/guix.texi (Search Paths): Update documentation to reflect changes. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Bruno Victal 2024-08-21gnu: Add perl-minimumversion....* gnu/packages/perl.scm (perl-minimumversion): New variable. Change-Id: Iad3c22936c07b7430525ad9827b6703d4ea9ce9c Signed-off-by: Ludovic Courtès <ludo@gnu.org> gemmaro 2024-08-21gnu: Add perl-ppix-utils....* gnu/packages/perl.scm (perl-ppix-utils): New variable. Change-Id: I9548c693aa6f54bd53662374f77b2fbd1ca3f485 Signed-off-by: Ludovic Courtès <ludo@gnu.org> gemmaro 2024-08-05Change email of Evgeny Pisemsky....* .mailmap: Add entry to Evgeny Pisemsky. * gnu/packages/emacs-xyz.scm, gnu/packages/engineering.scm, gnu/packages/guile-xyz.scm, gnu/packages/hardware.scm, gnu/packages/perl.scm, gnu/packages/python-xyz.scm, gnu/packages/sdl.scm, gnu/packages/web.scm: Adjust copyright line. Change-Id: I9a10be1ee7cc164f18d826b51348ee26eee2ca4b Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Evgeny Pisemsky