Commit cecaa515 authored by Florent Revest's avatar Florent Revest

sensorfw: Start at boot time

parent 63dfe31e
...@@ -17,12 +17,13 @@ do_configure_prepend() { ...@@ -17,12 +17,13 @@ do_configure_prepend() {
} }
do_install_append() { do_install_append() {
install -d ${D}/etc/sensorfw/ 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/sensord.conf
ln -s ../sensorfwd.service ${D}/lib/systemd/system/multi-user.target.wants/
} }
DEPENDS += "qtbase" DEPENDS += "qtbase"
FILES_${PN} += "/usr/lib/sensord-qt5/*.so /usr/lib/sensord-qt5/testing/*.so /lib/systemd/system/sensorfwd.service" FILES_${PN} += "/usr/lib/sensord-qt5/*.so /usr/lib/sensord-qt5/testing/*.so /lib/systemd/system"
FILES_${PN}-dbg += "/usr/share/sensorfw-tests/ /usr/lib/sensord-qt5/.debug/ /usr/lib/sensord-qt5/testing/.debug/" FILES_${PN}-dbg += "/usr/share/sensorfw-tests/ /usr/lib/sensord-qt5/.debug/ /usr/lib/sensord-qt5/testing/.debug/"
FILES_${PN}-dev += "/usr/share/qt5/mkspecs/" FILES_${PN}-dev += "/usr/share/qt5/mkspecs/"
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