mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
xinput-calibrator: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
-11
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Loads xinput calibration data
|
||||
ConditionPathExists=/etc/pointercal.xinput
|
||||
Requires=display-manager.service
|
||||
After=display-manager.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/xinput_calibrator_once.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 3}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://xinput-calibrator.service"
|
||||
|
||||
RPROVIDES_${PN} += "${PN}-systemd"
|
||||
RREPLACES_${PN} += "${PN}-systemd"
|
||||
RCONFLICTS_${PN} += "${PN}-systemd"
|
||||
SYSTEMD_SERVICE_${PN} = "${PN}.service"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/xinput-calibrator.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user