Commit 531f53aa authored by Florent Revest's avatar Florent Revest

buteo-mtp: Automatically mount /dev/mtp at boot time

parent e1061124
...@@ -18,6 +18,11 @@ do_configure_prepend() { ...@@ -18,6 +18,11 @@ do_configure_prepend() {
sed -i "/Nice=-10/d" ${S}/init/systemd/buteo-mtp.service sed -i "/Nice=-10/d" ${S}/init/systemd/buteo-mtp.service
} }
do_install_append() {
mkdir -p ${D}/lib/systemd/system/local-fs.target.wants
ln -s ../dev-mtp.mount ${D}/lib/systemd/system/local-fs.target.wants
}
DEPENDS += "buteo-syncfw statefs-qt libqtsparql" DEPENDS += "buteo-syncfw statefs-qt libqtsparql"
FILES_${PN} += "/lib/systemd/system /usr/lib/systemd/user/ /usr/share/mtp/ /usr/lib/mtp/ /usr/lib/buteo-plugins-qt5" FILES_${PN} += "/lib/systemd/system /usr/lib/systemd/user/ /usr/share/mtp/ /usr/lib/mtp/ /usr/lib/buteo-plugins-qt5"
......
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