diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-06-10 21:46:54 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-16 09:39:07 +0200 |
| commit | 34fe984fc64a9f51d5b2d563eedac6f5163b250a (patch) | |
| tree | c474a459929028ed8a0f85fa0491b5a283820c92 /meta-systemd | |
| parent | 23d5e850653e92a97bb06a678e5bc07249427f57 (diff) | |
| download | meta-openembedded-34fe984fc64a9f51d5b2d563eedac6f5163b250a.tar.gz | |
xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-systemd')
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service b/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service new file mode 100644 index 0000000000..e23bfc4f1f --- /dev/null +++ b/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Loads xinput calibration data | ||
| 3 | ConditionPathExists=/etc/pointercal.xinput | ||
| 4 | Requires=xserver-nodm.service | ||
| 5 | After=xserver-nodm.service | ||
| 6 | |||
| 7 | [Service] | ||
| 8 | ExecStart=/usr/bin/xinput_calibrator_once.sh | ||
| 9 | |||
| 10 | [Install] | ||
| 11 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bbappend b/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bbappend new file mode 100644 index 0000000000..e12abec4cc --- /dev/null +++ b/meta-systemd/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bbappend | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | |||
| 3 | PRINC := "${@int(PRINC) + 1}" | ||
| 4 | |||
| 5 | inherit systemd | ||
| 6 | |||
| 7 | SRC_URI += "file://xinput-calibrator.service" | ||
| 8 | |||
| 9 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
| 10 | SYSTEMD_SERVICE = "${PN}.service" | ||
