[OE-core] [PATCH 1/1] systemd: fix runtime dependency
ChenQi
Qi.Chen at windriver.com
Thu Oct 16 11:38:03 UTC 2014
On 10/16/2014 07:06 PM, Enrico Scholz wrote:
> Chen Qi <Qi.Chen-CWA4WttNNZF54TAoqtyWWQ at public.gmane.org> writes:
>
>> Previously, if we set 'NO_RECOMMENDATIONS' to "1", we cannot reach login
>> in systemd systems.
> IMO, this is just a configuration issue and can be fixed much better in
> a higher level packagegroup recipe. RRECOMMENDS for serial getty are
> fine; although a serial console is very common on embedded systems, it
> is not strictly necessary.
>
These serial-getty at .service is part of the systemd package. In our
system, it's first removed from systemd package, then generated from a
separate recipe.
That's just a configuration file which occupies almost no space in
image. However, without it, you cannot use serial console in systemd system.
In sysvinit, the serial console configuration is in /etc/inittab.
I just can't see any advantage of not using serial-getty at .service.
>> This patch makes the following changes.
>> 1. Add util-linux-agetty as a runtime dependency.
>> Otherwise, getty services in systemd cannot start correctly.
> afais, it would make more sense to move this dependency into
> systemd-serialgetty (and not systemd as in your patch). Or are there
> other units in systemd which call agetty?
>
>
> Enrico
getty at .service
util-linux-agetty is really a necessity, otherwise you just don't console.
//Chen Qi
More information about the Openembedded-core
mailing list