[OE-core] [PATCH] systemd: set default.target to multi-user.target

Samuel Stirtzel s.stirtzel at googlemail.com
Thu Jan 24 14:05:39 UTC 2013


2013/1/24 Samuel Stirtzel <s.stirtzel at googlemail.com>:
> 2013/1/24 Radu Moisan <radu.moisan at intel.com>:
>>
>> On 01/24/2013 03:48 PM, Martin Jansa wrote:
>>>
>>> On Thu, Jan 24, 2013 at 03:36:02PM +0200, Radu Moisan wrote:
>>>>
>>>> this fixes a service dependency issue;
>>>> while graphical.target is the default mode, systemd
>>>> will try to start display-manager.service which is not
>>>> available.
>>>
>>> what about images with display-manager available?
>>>
>>>
>>> meta-efl/recipes-efl/efl/entrance/entrance.service:Alias=display-manager.service
>>>
>>> meta-gnome/recipes-gnome/gdm/gdm/gdm.service.in:Alias=display-manager.service
>>>
>>> meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service:Alias=display-manager.service
>>>
>>> ?
>>>
>>> Making this change in global PKG_ARCH recipe doesn't look correct (and
>>> also missing Upstream-Status and SOB line).
>>>
>>> Cheers,
>>>
>> The problem goes both ways. If we leave it as it is, graphical.target as
>> default, what about images that don't need a display manager, like
>> core-image-minimal that is in particular the target, for the time being, for
>> systemd integration.
>>
>> Radu
>
>  ln -sf /lib/systemd/system/multi-user.target
> /etc/systemd/system/default.target  ?
>
Send too soon / wrong button :/

you want to change the default do
 ln -sf /lib/systemd/system/multi-user.target
/etc/systemd/system/default.target  ?

why not do that with .bbappends?

I'd prefer "vanilla" over hacky workarounds


--
Regards
Samuel




More information about the Openembedded-core mailing list