Commit 85ce35c5 authored by Florent Revest's avatar Florent Revest

buteo-mtp: Autostart buteo-mtp service as part of user@1000

parent eef04c06
...@@ -18,6 +18,9 @@ EXTRA_QMAKEVARS_PRE += "QMAKE_CFLAGS_ISYSTEM=" ...@@ -18,6 +18,9 @@ EXTRA_QMAKEVARS_PRE += "QMAKE_CFLAGS_ISYSTEM="
do_install_append() { do_install_append() {
mkdir -p ${D}/lib/systemd/system/local-fs.target.wants mkdir -p ${D}/lib/systemd/system/local-fs.target.wants
ln -s ../dev-mtp.mount ${D}/lib/systemd/system/local-fs.target.wants ln -s ../dev-mtp.mount ${D}/lib/systemd/system/local-fs.target.wants
install -d ${D}/usr/lib/systemd/user/default.target.wants/
ln -s ../buteo-mtp.service ${D}/usr/lib/systemd/user/default.target.wants/buteo-mtp.service
} }
DEPENDS += "buteo-syncfw statefs-qt libqtsparql" DEPENDS += "buteo-syncfw statefs-qt libqtsparql"
......
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