Re: “System” and “profile” services

2015-11-03 Thread Adam Pribyl

On Tue, 3 Nov 2015, Ludovic Courtès wrote:


Commits d62e201 and af4c3fd add ‘system-service-type’, which is the now
the real root of the service DAG, and ‘profile-service-type’, which is
the service that populates the system profile
(aka. /run/current-system/profile.)

The latter means that services can add packages to the system profile,
which is useful in some cases.

For instance, with commit 87f4001, Wicd adds itself to the system
profile so that ‘wicd-client’ and other commands are automatically
available, without having to fiddle with the ‘packages’ field of the OS.

This should simplify things a bit.


Nice! I'll test that when release comes...


Ludo’.


Adam Pribyl

“System” and “profile” services

2015-11-02 Thread Ludovic Courtès
Commits d62e201 and af4c3fd add ‘system-service-type’, which is the now
the real root of the service DAG, and ‘profile-service-type’, which is
the service that populates the system profile
(aka. /run/current-system/profile.)

The latter means that services can add packages to the system profile,
which is useful in some cases.

For instance, with commit 87f4001, Wicd adds itself to the system
profile so that ‘wicd-client’ and other commands are automatically
available, without having to fiddle with the ‘packages’ field of the OS.

This should simplify things a bit.

Ludo’.