Commit 5bb2bd25 authored by Florent Revest's avatar Florent Revest

buteo-mtp: Expose Watch Memory instead of Phone Memory + SD Card

parent 85ce35c5
From af0d09e1f2f5143216ad6b1a08b20cbdf0661d75 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Fri, 5 May 2017 17:34:18 +0200
Subject: [PATCH] fsstorageplugin: Expose Watch Memory instead of Phone Memory
+ SD Card
---
mts/platform/storage/fsstorageplugin/fsstorageplugin.pro | 2 +-
mts/platform/storage/fsstorageplugin/sd-card.xml | 3 ---
.../storage/fsstorageplugin/{phone-memory.xml => watch-memory.xml} | 2 +-
3 files changed, 2 insertions(+), 5 deletions(-)
delete mode 100644 mts/platform/storage/fsstorageplugin/sd-card.xml
rename mts/platform/storage/fsstorageplugin/{phone-memory.xml => watch-memory.xml} (62%)
diff --git a/mts/platform/storage/fsstorageplugin/fsstorageplugin.pro b/mts/platform/storage/fsstorageplugin/fsstorageplugin.pro
index 218a398..12fc919 100644
--- a/mts/platform/storage/fsstorageplugin/fsstorageplugin.pro
+++ b/mts/platform/storage/fsstorageplugin/fsstorageplugin.pro
@@ -50,7 +50,7 @@ LIBS += -lmeegomtp
target.path = /usr/lib/mtp
configuration.path = /etc/fsstorage.d
-configuration.files = phone-memory.xml homedir-blacklist.conf sd-card.xml
+configuration.files = watch-memory.xml homedir-blacklist.conf
INSTALLS += target configuration
diff --git a/mts/platform/storage/fsstorageplugin/sd-card.xml b/mts/platform/storage/fsstorageplugin/sd-card.xml
deleted file mode 100644
index a625537..0000000
--- a/mts/platform/storage/fsstorageplugin/sd-card.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<storage name="sdcard" blockdev="/dev/mmcblk1" description="SD Card">
-</storage>
diff --git a/mts/platform/storage/fsstorageplugin/phone-memory.xml b/mts/platform/storage/fsstorageplugin/watch-memory.xml
similarity index 62%
rename from mts/platform/storage/fsstorageplugin/phone-memory.xml
rename to mts/platform/storage/fsstorageplugin/watch-memory.xml
index 32b3b39..3f3df56 100644
--- a/mts/platform/storage/fsstorageplugin/phone-memory.xml
+++ b/mts/platform/storage/fsstorageplugin/watch-memory.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<storage name="media" path="/home/ceres" description="Phone Memory">
+<storage name="media" path="/home/ceres" description="Watch Memory">
<blacklist>homedir-blacklist.conf</blacklist>
</storage>
--
2.11.0
...@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://mtpserver/mtpserver.cpp;beginline=1;endline=30;md5=a2 ...@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://mtpserver/mtpserver.cpp;beginline=1;endline=30;md5=a2
SRC_URI = "git://git.merproject.org/mer-core/buteo-mtp.git;protocol=https \ SRC_URI = "git://git.merproject.org/mer-core/buteo-mtp.git;protocol=https \
file://0001-Remove-dependency-to-SSU-and-tests.patch \ file://0001-Remove-dependency-to-SSU-and-tests.patch \
file://0002-Start-buteo-mtp-as-ceres-by-default.patch \ file://0002-Start-buteo-mtp-as-ceres-by-default.patch \
file://0003-Fixes-some-dependencies-to-contextkit-bash-and-syste.patch" file://0003-Fixes-some-dependencies-to-contextkit-bash-and-syste.patch \
file://0004-fsstorageplugin-Expose-Watch-Memory-instead-of-Phone.patch"
SRCREV = "dd37c4f61e96bc25dd95d9661310e5326e31b593" SRCREV = "dd37c4f61e96bc25dd95d9661310e5326e31b593"
PR = "r1" PR = "r1"
PV = "+git${SRCPV}" PV = "+git${SRCPV}"
......
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