aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/hurd.scm
Commit message (Collapse)AuthorAge
* system: hurd: Use the Shepherd 0.10.x.Ludovic Courtès2024-01-08
| | | | | | | | | * gnu/system.scm (hurd-default-essential-services): Remove reference to ‘shepherd-0.8’. * gnu/system/hurd.scm (%base-packages/hurd): Replace ‘shepherd-0.8’ with ‘shepherd-0.10’. Change-Id: I9f1800693cda456286450d3d0bb6f7e3da85d55e
* system: hurd: Override locale-libcs harder.Janneke Nieuwenhuizen2023-09-16
| | | | | | | This really removes the locale-2.33 dependency running `guix system build bare-hurd.tmpl' on the Hurd, that somehow still managed to leak-in? * gnu/system/hurd.scm (%base-packages/hurd)[locale-libcs]: New field.
* system: hurd: Add nss-certs to %base-packages/hurd.Janneke Nieuwenhuizen2023-09-16
| | | | | | This fixes the recently added "rewrite-url, to-version specified" test. * gnu/system/hurd.scm (%base-packages/hurd): Add nss-certs.
* system: hurd: Add procps to %base-packages/hurd.Janneke Nieuwenhuizen2023-09-16
| | | | * gnu/system/hurd.scm (%base-packages/hurd): Add procps.
* system: hurd: Add netdde to %base-packages/hurd.Janneke Nieuwenhuizen2023-07-13
| | | | | | * gnu/system/hurd.scm (%base-packages/hurd): Add netdde. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
* gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.Janneke Nieuwenhuizen2023-06-17
| | | | | | | | * gnu/packages/hurd.scm (hurd-target?): Remove. (hurd-system?): Move to... * guix/utils.scm (system-hurd?): ...here. * gnu/packages/*: Update all users, removing (gnu packages hurd) include where now unused.
* system: hurd: Use shepherd-0.8 in the package list.Josselin Poiret2023-03-30
| | | | | | | | * gnu/system/hurd.scm (%base-packages/hurd): Change shepherd to shepherd-0.8, since the former uses fibers, and thus conflicts with the shepherd-0.8 we use in the default essential services. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: base: Deprecate 'syslog-service' procedure.Bruno Victal2023-03-03
| | | | | | | | | | | | * doc/guix.texi (Base Services): Replace syslog-service with syslog-service-type. * gnu/services/base.scm (%default-syslog.conf): Place before <syslog-configuration>. (syslog-service-type): Set default value. (syslog-service): Deprecate procedure. (%base-services): Use syslog-service-type. * gnu/system/hurd.scm (%base-services/hurd): Ditto. * gnu/system/install.scm (%installation-services): Ditto. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* system: hurd: Create more ttys.Ludovic Courtès2022-11-28
| | | | | | | * gnu/build/hurd-boot.scm (set-hurd-device-translators)[devices]: Add more /dev/ttyN nodes. * gnu/system/hurd.scm (%base-services/hurd): Add more 'hurd-getty-service-type' instances.
* system: hurd: Fix bogus 'initrd-modules' field.Ludovic Courtès2022-04-08
| | | | | | | Reported by kitzman on #guix. * gnu/system/hurd.scm (%hurd-default-operating-system)[initrd-modules]: Set to the empty list.
* system: hurd: Move the Shepherd before the Hurd in %BASE-PACKAGES/HURD.Ludovic Courtès2022-03-09
| | | | * gnu/system/hurd.scm (%base-packages/hurd): Move SHEPHERD before HURD.
* services: Define '%loopback-static-networking'.Ludovic Courtès2021-12-12
| | | | | | | | * gnu/services/base.scm (%loopback-static-networking): New variable. (%base-services): Use it. * gnu/system/hurd.scm (%base-services/hurd): Use it. * gnu/system/install.scm (%installation-services): Use it. * doc/guix.texi (Networking Setup): Document it.
* services: Define '%qemu-static-networking'.Ludovic Courtès2021-12-12
| | | | | | * gnu/services/base.scm (%qemu-static-networking): New variable. * gnu/system/hurd.scm (%base-services/hurd): Use it. * doc/guix.texi (Networking Setup): Document it.
* services: static-networking: Change interface to mimic netlink.Ludovic Courtès2021-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/services/base.scm (<static-networking>)[interface, ip, netmask] [gateway]: Remove. [addresses, links, routes]: New fields. [requirement]: Default to '(udev). (<network-address>, <network-link>, <network-route>): New record types. (ensure-no-separate-netmask, %ensure-no-separate-netmask): Remove. (ipv6-address?, cidr->netmask, ip+netmask->cidr) (network-set-up/hurd, network-tear-down/hurd) (network-set-up/linux, network-tear-down/linux) (static-networking->hurd-pfinet-options): New procedures. (static-networking-shepherd-service): New procedure. (static-networking-shepherd-services): Rewrite in terms of the above. (static-networking-service): Deprecate. Adjust to new 'static-networking' API. (%base-services): Likewise. * gnu/system/install.scm (%installation-services): Likewise. * gnu/system/hurd.scm (%base-services/hurd): Likewise, and separate 'loopback' from 'networking'. * gnu/build/hurd-boot.scm (set-hurd-device-translators): Remove "servers/socket/2". * gnu/tests/networking.scm (run-openvswitch-test)["networking has started on ovs0"]: Check for 'networking instead of 'networking-ovs0, which is no longer provided. * doc/guix.texi (Networking Setup): Document the new interface. Remove documentation of 'static-networking-service'. (Virtualization Services): Change Ganeti example to use the new interface.
* system: hurd: Add 'info-reader' to %BASE-PACKAGES/HURD.Ludovic Courtès2021-10-18
| | | | * gnu/system/hurd.scm (%base-packages/hurd): Add INFO-READER.
* Migrate to the new 'targets' field of bootloader-configuration.Maxim Cournoyer2021-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old 'target' field is deprecated; adjust the sources to use the new 'targets' one instead. * doc/guix-cookbook.texi<target>: Replace by 'targets'. * gnu/bootloader/grub.scm: Likewise. * gnu/installer/parted.scm: Likewise. * gnu/machine/digital-ocean.scm: Likewise. * gnu/system/examples/asus-c201.tmpl: Likewise * gnu/system/examples/bare-bones.tmpl: Likewise * gnu/system/examples/bare-hurd.tmpl: Likewise * gnu/system/examples/beaglebone-black.tmpl: Likewise * gnu/system/examples/desktop.tmpl: Likewise * gnu/system/examples/docker-image.tmpl: Likewise * gnu/system/examples/lightweight-desktop.tmpl: Likewise * gnu/system/examples/vm-image.tmpl: Likewise * gnu/system/examples/yggdrasil.tmpl: Likewise * gnu/system/hurd.scm: Likewise * gnu/system/images/hurd.scm: Likewise * gnu/system/images/novena.scm: Likewise * gnu/system/images/pine64.scm: Likewise * gnu/system/images/pinebook-pro.scm: Likewise * gnu/system/images/rock64.scm: Likewise * gnu/system/install.scm: Likewise * gnu/system/vm.scm: Likewise * gnu/tests.scm: Likewise * gnu/tests/ganeti.scm: Likewise * gnu/tests/install.scm: Likewise * gnu/tests/nfs.scm: Likewise * gnu/tests/telephony.scm: Likewise * tests/boot-parameters.scm: Likewise * tests/system.scm: Likewise
* system: install, hurd: Use 'setuid-programs'.Ludovic Courtès2021-08-12
| | | | | | | | This is a followup to a7ac19851baab3fbcc40c4b2cf5b00a6ac9cd2f3. * gnu/system/install.scm (installation-os)[setuid-programs]: Use 'setuid-program'. * gnu/system/hurd.scm (%setuid-programs/hurd): Use 'file-like->setuid-program'.
* system: hurd: Have the static networking provision 'networking.Christopher Baines2021-02-22
| | | | | | | | | Some services require networking, I'm looking at the Guix Build Coordinator agent. Networking seems to work in the childhurd VM, so I think this change makes sense. * gnu/system/hurd.scm (%base-services/hurd): Add 'networking to the provision parameter for the static-networking service.
* system: hurd: Add diffutils, patch, gawk, tar, gzip, bzip2, xz, and lzip.Jan (janneke) Nieuwenhuizen2020-10-09
| | | | | * gnu/system/hurd.scm (%base-packages/hurd): Add diffutils, patch, gawk, tar, gzip, bzip2, xz, and lzip.
* system: hurd: Include 'guile-3.0-latest' in '%base-packages/hurd'.Jan (janneke) Nieuwenhuizen2020-10-09
| | | | | * gnu/system/hurd.scm (%base-packages/hurd): Change GUILE-3.0 to GUILE-3.0-LATEST.
* system: hurd: Add PAM support with shadow and sudo.Jan (janneke) Nieuwenhuizen2020-10-09
| | | | | | | | | | | * gnu/system.scm (hurd-default-essential-services): Add setuid-program-service-type. * gnu/system/hurd.scm (%base-packages/hurd): Add shadow, sudo. (%setuid-programs/hurd): New variable. (%hurd-default-operating-system)[setuid-program]: Use it. [pam-services, sudoers-file]: Remove overrides; enabling regular defaults. * gnu/system/examples/bare-hurd.tmpl (%hurd-os)[users]: New field. [services]: Do not disable PAM in SSH.
* system: hurd: Oops, have 'initrd' default to #f.Jan (janneke) Nieuwenhuizen2020-06-30
| | | | * gnu/system/hurd.scm (%hurd-default-operating-system)[initrd]: Oops, set to #f.
* system: hurd: Add "/bin/sh" and "/usr/bin/env".Jan (janneke) Nieuwenhuizen2020-06-18
| | | | | * gnu/system/hurd.scm (%base-services/hurd): Add extra-special-files "/bin/sh" and "/usr/bin/env".
* system: hurd: Remove 'cross-hurd-image' hack.Jan (janneke) Nieuwenhuizen2020-06-13
| | | | | | | | | | The initial guix build -f gnu/system/hurd.scm hack has been superseded by regular guix system (cross) build. * gnu/system/hurd.scm (compile-manifest, cross-hurd-image): Remove.
* system: hurd: Populate services.Jan (janneke) Nieuwenhuizen2020-06-08
| | | | | | | | | | * gnu/system/hurd.scm (%base-services/hurd): Add hurd-console-service, hurd-getty-services, guix-service. Also add sylog and loopback, needed for ... * gnu/system.scm (hurd-default-essential-services): ... add %shepherd-root-service with dependencies: %boot-service, %activation-service, user-processes, root-file-system-service, file-system-service, pam-root-service.
* system: examples: Add bare-hurd.tmpl.Jan (janneke) Nieuwenhuizen2020-06-08
| | | | | | | | * gnu/system/hurd.scm (%hurd-def%hurd-default-operating-system-kernel, %hurd-default-operating-system): New exported variables. * gnu/system/examples/bare-hurd.tmpl: New file. * Makefile.am (EXAMPLES): Add it. * tests/guix-system.sh: Add --target=i586-pc-gnu when testing it.
* system: hurd: Remove custom <manifest> gexp compiler.Ludovic Courtès2020-05-28
| | | | | | | | This is superseded by <profile>, which was added in ef674a24c527eaf54801707d34dbf5d12ec139cb. * gnu/system/hurd.scm (compile-manifest): Remove. (cross-hurd-image)[system-profile]: Define using 'profile'.
* system: hurd: Add /etc/group.Jan (janneke) Nieuwenhuizen2020-05-01
| | | | | | This allows download to run. * gnu/system/hurd.scm (cross-hurd-image): Add /etc/group with guixbuilder.
* system: hurd: Add less, which to %base-packages/hurd.Efraim Flashner2020-05-01
| | | | * gnu/system/hurd.scm (%base-packages/hurd): Add less, which.
* system: hurd: Add guile-candy.Ludovic Courtès2020-04-11
| | | | | | * gnu/system/hurd.scm (%base-packages/hurd): Add GUILE-COLORIZED and GUILE-READLINE. (cross-hurd-image)[hurd-directives]: Add /root/.guile.
* system: hurd: Add net-base and inetutils, and /etc/{services,protocols}.Jan (janneke) Nieuwenhuizen2020-04-11
| | | | | | | | | This fixes In procedure getaddrinfo: Servname not supported for ai_socktype * gnu/system/hurd.scm (%base-packages/hurd): Add net-base, inetutils. (cross-hurd-image): Add /etc/{services,protocols} from net-base.
* system: hurd: Create a proper profile.Ludovic Courtès2020-04-11
| | | | | | | | | | | | * gnu/system/hurd.scm (compile-manifest): New procedure. (cross-hurd-image)[for-hurd, hurd-os]: Remove. [cross-built, cross-built-entry]: New procedures. [system-profile]: New variable. [grub.cfg]: Use 'cross-built'. [profile]: Rename to... [etc-profile]: ... this, and adjust accordingly. [hurd-directives]: Create /run/current-system/profile and /etc/profile. Adjust arguments to 'qemu-image'.
* system: hurd: Add root profile.Jan (janneke) Nieuwenhuizen2020-04-11
| | | | | | | * gnu/system/hurd.scm (%base-packages/hurd): New variable. (cross-hurd-image)[for-hurd]: New function. (cross-hurd-image)[hurd-os]: Use them. (cross-hurd-image)[profile]: Hack'y .profile for root, only setting PATH.
* system: hurd: Create /etc/{hostname,motd,login} and /root.Ludovic Courtès2020-04-11
| | | | | * gnu/system/hurd.scm (cross-hurd-image): Add /etc/{hostname,motd,login} and /root.
* system: hurd: Add "/bin/sh" symlink.Jan (janneke) Nieuwenhuizen2020-04-11
| | | | | | This allows login.c to succeed for root. * gnu/system/hurd.scm (cross-hurd-image): Link /bin/sh to full the full bash.
* system: hurd: Add /etc/{passwd,shadow}.Jan (janneke) Nieuwenhuizen2020-04-11
| | | | | * gnu/system/hurd.scm: Generate hard-coded /etc/{passwd,shadow}, allows running chown in MAKEDEV and loggin in.
* system: hurd: Add ttys symlink in "/etc/ttys".Jan (janneke) Nieuwenhuizen2020-04-11
| | | | | | * gnu/packages/hurd.scm (hurd): Substitute /libexec/. * gnu/system/hurd.scm (cross-hurd-image): Add symlink /etc/ttys => <hurd>/etc/ttys.
* system: hurd: Add "/etc/fstab".Jan (janneke) Nieuwenhuizen2020-04-11
| | | | | | | | | | | This allows running mount -o remount,rw / successfully. * gnu/system/hurd.scm (cross-hurd-image): Create a hard coded fstab and add it to hurd-os.
* Add (gnu system hurd).Ludovic Courtès2020-04-11
* gnu/system/hurd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.