d62e201cfd
* gnu/services.scm (system-derivation): New procedure. (system-service-type): New variable. (boot-script-entry): New procedure. (boot-service-type): Extend SYSTEM-SERVICE-TYPE. (etc-entry): New procedure. (etc-service-type): Extend SYSTEM-SERVICE-TYPE. (fold-services): Change default #:target-type to SYSTEM-SERVICE-TYPE. * gnu/system.scm (operating-system-directory-base-entries): New procedure. (essential-services): Use it. Add an instance of SYSTEM-SERVICE-TYPE. (operating-system-boot-script): Pass #:target-type to 'fold-services'. (operating-system-derivation): Rewrite in terms of 'fold-services'. * gnu/system/linux-container.scm (system-container): Remove. (container-script): Use 'operating-system-derivation'. * guix/scripts/system.scm (export-extension-graph): Replace BOOT-SERVICE-TYPE by SYSTEM-SERVICE-TYPE. * doc/images/service-graph.dot: Add 'system' node and edges. * doc/guix.texi (Service Composition): Mention SYSTEM-SERVICE-TYPE. (Service Reference): Document it. Update 'fold-services' documentation.
39 lines
934 B
Plaintext
39 lines
934 B
Plaintext
digraph "Service Type Dependencies" {
|
|
dmd [shape = box, fontname = Helvetica];
|
|
pam [shape = box, fontname = Helvetica];
|
|
etc [shape = box, fontname = Helvetica];
|
|
accounts [shape = box, fontname = Helvetica];
|
|
activation [shape = box, fontname = Helvetica];
|
|
boot [shape = box, fontname = Helvetica];
|
|
system [shape = house, fontname = Helvetica];
|
|
lshd -> dmd;
|
|
lshd -> pam;
|
|
udev -> dmd;
|
|
nscd -> dmd [label = "extends"];
|
|
"nss-mdns" -> nscd;
|
|
"kvm-rules" -> udev;
|
|
colord -> udev;
|
|
dbus -> dmd;
|
|
colord -> dbus;
|
|
upower -> udev;
|
|
upower -> dbus;
|
|
polkit -> dbus;
|
|
polkit -> pam;
|
|
elogind -> dbus;
|
|
elogind -> udev;
|
|
elogind -> polkit [label = "extends"];
|
|
dmd -> boot;
|
|
colord -> accounts;
|
|
accounts -> activation;
|
|
accounts -> etc;
|
|
etc -> activation;
|
|
activation -> boot;
|
|
pam -> etc;
|
|
elogind -> pam;
|
|
guix -> dmd;
|
|
guix -> activation;
|
|
guix -> accounts;
|
|
boot -> system;
|
|
etc -> system;
|
|
}
|