[systemd-devel] [PATCH] condition: add option ConditionArchitecture

Tomasz Torcz tomek at pipebreaker.pl
Tue Mar 26 12:24:43 PDT 2013


On Tue, Mar 26, 2013 at 04:07:47PM -0300, Cristian Rodríguez wrote:
> El 26/03/13 15:17, Bill Nottingham escribió:
> >Lukas Nykryn (lnykryn at redhat.com) said:
> >>---
> >>  TODO                                  |  2 --
> >>  man/systemd.unit.xml.in               |  8 ++++++++
> >>  src/core/condition.c                  | 16 ++++++++++++++++
> >>  src/core/condition.h                  |  1 +
> >>  src/core/load-fragment-gperf.gperf.m4 |  1 +
> >>  5 files changed, 26 insertions(+), 2 deletions(-)
> >
> >Not that this seems wrong, but what is the usage case for this that
> >can't be solved via package (de)installation?
> 
> The patch looks fine to me, what it solves ? well.. there may be
> generic image deployments , who contain the same packages but one of
> them is only really useful in arch s390 or ppc.. etc..

  The reason explained on IRC was to automatically start sshd in
installer on s390. Currently it is started based on "sshd" in kernel
commandline, but on s390 it must be started always.


-- 
Tomasz Torcz                Only gods can safely risk perfection,
xmpp: zdzichubg at chrome.pl     it's a dangerous thing for a man.  -- Alia



More information about the systemd-devel mailing list