Commit dedfab6a authored by Florent Revest's avatar Florent Revest

buteo-mtp: Start as ceres

parent 531f53aa
From c1c48f251912140b7fde76e14aaa43ab4ffcaafb Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sun, 30 Oct 2016 15:03:33 +0100
Subject: [PATCH] Start buteo-mtp as ceres by default
---
init/systemd/buteo-mtp | 3 +--
mts/platform/storage/fsstorageplugin/phone-memory.xml | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/init/systemd/buteo-mtp b/init/systemd/buteo-mtp
index 275f426..6e66f89 100755
--- a/init/systemd/buteo-mtp
+++ b/init/systemd/buteo-mtp
@@ -1,7 +1,6 @@
#!/bin/sh
-DEF_UID=$(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
-DEVICEUSER=$(getent passwd $DEF_UID | sed 's/:.*//')
+DEVICEUSER=ceres
case $1 in
"start")
diff --git a/mts/platform/storage/fsstorageplugin/phone-memory.xml b/mts/platform/storage/fsstorageplugin/phone-memory.xml
index 1bd73fb..32b3b39 100644
--- a/mts/platform/storage/fsstorageplugin/phone-memory.xml
+++ b/mts/platform/storage/fsstorageplugin/phone-memory.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<storage name="media" path="/home/nemo" description="Phone Memory">
+<storage name="media" path="/home/ceres" description="Phone Memory">
<blacklist>homedir-blacklist.conf</blacklist>
</storage>
--
2.10.1
......@@ -4,7 +4,8 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://mtpserver/mtpserver.cpp;beginline=1;endline=30;md5=a2b2b5351d5e7a0b1f3b62af44e24404"
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"
SRCREV = "dd37c4f61e96bc25dd95d9661310e5326e31b593"
PR = "r1"
PV = "+git${SRCREV}"
......
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