[OE-core] [PATCH 1/1] systemd: fix runtime dependency
Peter A. Bigot
pab at pabigot.com
Thu Oct 16 11:29:42 UTC 2014
On 10/16/2014 06:06 AM, 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.
>
>
>> 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?
There are other units that use getty. OE's systemd has a patch to use
getty not agetty but for some reason console-getty is not one of the
units patched (maybe the unit was created after the patch was made);
that probably needs to be reviewed. There is at least one other oe-core
provider of getty (viz. mingetty); at one point it was important to use
one of them (I forget which) on gumstix Overo boards.
Peter
More information about the Openembedded-core
mailing list