Commit 69243bfa authored by Florent Revest's avatar Florent Revest

sensorfw: Get rid of a couple of boot warnings

parent 68a3f5b5
[Unit]
Description=Sensor daemon for sensor framework
After=dbus.socket
Requires=dbus.service
Conflicts=actdead.target
[Service]
Type=forking
ExecStart=/usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf -d --log-level=warning --no-magnetometer-bg-calibration
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=1
[Install]
WantedBy=graphical.target
...@@ -3,7 +3,8 @@ HOMEPAGE = "https://git.merproject.org/mer-core/sensorfw" ...@@ -3,7 +3,8 @@ HOMEPAGE = "https://git.merproject.org/mer-core/sensorfw"
LICENSE = "LGPL-2.1+" LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
SRC_URI = "git://git.merproject.org/mer-core/sensorfw.git;protocol=https" SRC_URI = "git://git.merproject.org/mer-core/sensorfw.git;protocol=https \
file://sensorfwd.service"
SRCREV = "9efd97d298131a116e4e93fa223072def9268e81" SRCREV = "9efd97d298131a116e4e93fa223072def9268e81"
PR = "r1" PR = "r1"
PV = "+git${SRCPV}" PV = "+git${SRCPV}"
...@@ -19,7 +20,8 @@ do_configure_prepend() { ...@@ -19,7 +20,8 @@ do_configure_prepend() {
do_install_append() { do_install_append() {
install -d ${D}/etc/sensorfw/ ${D}/lib/systemd/system/multi-user.target.wants/ install -d ${D}/etc/sensorfw/ ${D}/lib/systemd/system/multi-user.target.wants/
cp ${S}/config/sensord-hybris.conf ${D}/etc/sensorfw/sensord.conf cp ${S}/config/sensord-hybris.conf ${D}/etc/sensorfw/primaryuse.conf
cp ../sensorfwd.service ${D}/lib/systemd/system/sensorfwd.service
ln -s ../sensorfwd.service ${D}/lib/systemd/system/multi-user.target.wants/ ln -s ../sensorfwd.service ${D}/lib/systemd/system/multi-user.target.wants/
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment