mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
xinput-calibrator: Fix service file to require display-manager.service
The xinput-calibrator.service had a requires to xserver-nodm.service but in fact it ought to wait by any display-manager to be initialized. We fix it changing the require to display-manager.service. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
This commit is contained in:
parent
7776c45a15
commit
ebd90bda12
|
|
@ -1,8 +1,8 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Loads xinput calibration data
|
Description=Loads xinput calibration data
|
||||||
ConditionPathExists=/etc/pointercal.xinput
|
ConditionPathExists=/etc/pointercal.xinput
|
||||||
Requires=xserver-nodm.service
|
Requires=display-manager.service
|
||||||
After=xserver-nodm.service
|
After=display-manager.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/xinput_calibrator_once.sh
|
ExecStart=/usr/bin/xinput_calibrator_once.sh
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
PRINC := "${@int(PRINC) + 2}"
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user