On 9 April 2013 15:02, Radu Moisan <radu.moisan@intel.com> wrote:
> This fixes a service dependency issue;> When graphical.target is the default mode, systemd> will try to start display-manager.service which is not> available on some targets.>> For xserver-nodm-init we would then have something like:> inherit update-alternatives> ALTERNATIVE_${PN} = "systemd-def-target"> ALTERNATIVE_TARGET[systemd-def-target] => "${systemd_unitdir}/system/graphical.target"> ALTERNATIVE_LINK_NAME[systemd-def-target] => "${systemd_unitdir}/system/default.target"> ALTERNATIVE_PRIORITY[systemd-def-target] ?= "10"
If we're going to make this change we also need to fix
xserver-nodm-init at the same time otherwise we break graphical boots
in oe-core.
Ross

On 04/09/2013 05:58 PM, Burton, Ross wrote:
> On 9 April 2013 15:02, Radu Moisan <radu.moisan@intel.com> wrote:>> This fixes a service dependency issue;>> When graphical.target is the default mode, systemd>> will try to start display-manager.service which is not>> available on some targets.>>>> For xserver-nodm-init we would then have something like:>> inherit update-alternatives>> ALTERNATIVE_${PN} = "systemd-def-target">> ALTERNATIVE_TARGET[systemd-def-target] =>> "${systemd_unitdir}/system/graphical.target">> ALTERNATIVE_LINK_NAME[systemd-def-target] =>> "${systemd_unitdir}/system/default.target">> ALTERNATIVE_PRIORITY[systemd-def-target] ?= "10"> If we're going to make this change we also need to fix> xserver-nodm-init at the same time otherwise we break graphical boots> in oe-core.
I have a patch waiting for this for a while. I'll rebase and send if you
want it.
Radu

On 04/09/2013 06:03 PM, Radu Moisan wrote:
>> On 04/09/2013 05:58 PM, Burton, Ross wrote:>> On 9 April 2013 15:02, Radu Moisan <radu.moisan@intel.com> wrote:>>> This fixes a service dependency issue;>>> When graphical.target is the default mode, systemd>>> will try to start display-manager.service which is not>>> available on some targets.>>>>>> For xserver-nodm-init we would then have something like:>>> inherit update-alternatives>>> ALTERNATIVE_${PN} = "systemd-def-target">>> ALTERNATIVE_TARGET[systemd-def-target] =>>> "${systemd_unitdir}/system/graphical.target">>> ALTERNATIVE_LINK_NAME[systemd-def-target] =>>> "${systemd_unitdir}/system/default.target">>> ALTERNATIVE_PRIORITY[systemd-def-target] ?= "10">> If we're going to make this change we also need to fix>> xserver-nodm-init at the same time otherwise we break graphical boots>> in oe-core.>> I have a patch waiting for this for a while. I'll rebase and send if > you want it.>
dropping this for now.
Radu