mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
23d5e85065
commit
34fe984fc6
+11
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Loads xinput calibration data
|
||||
ConditionPathExists=/etc/pointercal.xinput
|
||||
Requires=xserver-nodm.service
|
||||
After=xserver-nodm.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/xinput_calibrator_once.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://xinput-calibrator.service"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "${PN}.service"
|
||||
Reference in New Issue
Block a user