~ruther/guix-local

ref: 557f8f212e9bfc28ce689a2ccbcc91c8dafe01b2 guix-local/gnu/services/base.scm -rw-r--r-- 87.4 KiB
ce0a62f6 — Ludovic Courtès 8 years ago
services: console-font: Don't emit the IUTF8 console code.

Fixes <https://bugs.gnu.org/30505>.

* gnu/services/base.scm (unicode-start): Remove 'display' call to FD for
"\x1b%G" console code.
150062f1 — Mark H Weaver 8 years ago
Merge branch 'master' into core-updates
7e0a6fac — Danny Milosavljevic 8 years ago
services: mingetty: Move tty optionality to agetty.

Follow-up to 5a9902c8acd63916c6c80cf3c61be6ee814b7e3d.

* gnu/services/base.scm (mingetty-shepherd-service): Move tty optionality check to...
(agetty-shepherd-service): ...here.
5a9902c8 — Danny Milosavljevic 8 years ago
services: agetty: Add agetty instance to base services. Make its tty optional.

* gnu/services/base.scm (%base-services): Instantiate agetty-service.
(default-serial-port): New variable.
(agetty-shepherd-service): Make tty optional, default to the above.
* doc/guix.texi (agetty-configuration): Update "tty" documentation.
* gnu/system/install.scm (agetty-default-service): Delete variable.
(embedded-installation-os): Remove agetty-default-service instance.
Add "console" kernel-argument.
4adb40bf — Leo Famulari 8 years ago
Merge branch 'master' into core-updates
88554b5d — Ludovic Courtès 8 years ago
services: guix: Add 'chroot-directories' field.

* gnu/services/base.scm (<guix-configuration>)[chroot-directories]: New
field.
(guix-shepherd-service): Honor it.
(references-file): New procedure.
(guix-service-type)[compose, extend]: New fields.
f4596f76 — Ludovic Courtès 8 years ago
services: guix: Add 'log-compression' option.

* gnu/services/base.scm (<guix-configuration>)[log-compression]: New
field.
(guix-shepherd-service): Use 'match-record' instead of 'match'.  Honor
'log-compression'.
* doc/guix.texi (Base Services): Document 'log-compression'.
23de2e1d — Efraim Flashner 8 years ago
Merge remote-tracking branch 'origin/master' into core-updates
db8ed7ce — Marius Bakke 8 years ago
services: networking: Add a dependency override mechanism to <static-networking>.

* gnu/services/networking.scm (<static-networking>)[requirement]: New field.
(static-networking-shepherd-service): Don't override requirement for loopback.
(static-networking-service): Expose 'requirement' parameter.  Default to UDEV.
* gnu/services/base.scm (%base-services): Add (requirement '()) for loopback service.
* doc/guix.texi (Networking Services): Document it.
4a32f58a — Ludovic Courtès 8 years ago
services: urandom-seed: Depend on udev.

Suggested by Leo Famulari <leo@famulari.name>.

* gnu/services/base.scm (urandom-seed-shepherd-service): Add 'udev' to
'requirement'.
8faaf8d7 — Ludovic Courtès 8 years ago
services: urandom-seed: Deprecate the 'urandom-seed-service' procedure.

* gnu/services/base.scm (urandom-seed-service-type)[default-value]: New
field.
(urandom-seed-service): Mark as deprecated.
(%base-services): Use URANDOM-SEED-SERVICE-TYPE directly.
* gnu/services/base.scm (%base-services):
* doc/guix.texi (Base Services): Document 'urandom-seed-service-type'
instead of 'urandom-seed-service'.
4e9fd508 — Ludovic Courtès 8 years ago
services: urandom-seed: Become a dependency of 'user-processes'.

This ensures that 'urandom-seed' is started before programs that rely on
sources of randomness.

Fixes <https://bugs.gnu.org/29773>.
Reported by Leo Famulari <leo@famulari.name>.

* gnu/services/base.scm (urandom-seed-shepherd-service): Change
'requirement' to (file-systems).
(urandom-seed-service-type): Extend USER-PROCESSES-SERVICE-TYPE.
206a28d8 — Ludovic Courtès 8 years ago
services: 'user-processes-service-type' can now be extended.

* gnu/services/base.scm (user-processes-shepherd-service): New
procedure, taken from former 'user-processes-service-type'.  Add
REQUIREMENTS argument; remove GRACE-DELAY argument.
(user-processes-service-type): Redefine in terms of 'service-type'.
(user-processes-service): Remove.
(file-system-service-type): Extend USER-PROCESSES-SERVICE-TYPE.
* gnu/system.scm (essential-services): Use USER-PROCESSES-SERVICE-TYPE
directly.
f76fc968 — Leo Famulari 8 years ago
Merge branch 'master' into core-updates
9a56cf2b — Leo Famulari 8 years ago
services: urandom-seed: Try using a HWRNG to seed the Linux CRNG at boot.

* gnu/services/base.scm (urandom-seed-shepherd-service): Try to read from
'/dev/hwrng' at boot, as a supplement to any saved random seed.
* doc/guix.texi (Base Services): Document the new feature.
32cd878b — Marius Bakke 8 years ago
Merge branch 'master' into core-updates
86e6b4c9 — Danny Milosavljevic 8 years ago
services: base: Use make-static-device-nodes.

Fixes <https://bugs.gnu.org/22050>.

* gnu/services/base.scm (udev-shepherd-service): Use make-static-device-nodes.
9e111db4 — Marius Bakke 8 years ago
Merge branch 'master' into core-updates
5a2f019c — Ludovic Courtès 8 years ago
Merge branch 'version-0.14.0'
787e8a80 — Ludovic Courtès 8 years ago
services: console-font: Use 'tcsetattr' instead of invoking 'unicode_start'.

This is more robust, faster, and incidentally gets rid of remaining
"error in the finalization thread: Bad file descriptor" messages.

* gnu/services/base.scm (unicode-start): Rewrite to use 'tcgetattr' and
'tcsetattr'.
(console-font-shepherd-services)[start]: Add 'loop' to check whether
DEVICE is ready.  Tolerate EX_OSERR return from 'setfont'.
[modules]: New field.
Next