Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
dedfab6a
Commit
dedfab6a
authored
Oct 30, 2016
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buteo-mtp: Start as ceres
parent
531f53aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
1 deletion
+38
-1
0002-Start-buteo-mtp-as-ceres-by-default.patch
.../buteo-mtp/0002-Start-buteo-mtp-as-ceres-by-default.patch
+36
-0
buteo-mtp_git.bb
recipes-nemomobile/buteo/buteo-mtp_git.bb
+2
-1
No files found.
recipes-nemomobile/buteo/buteo-mtp/0002-Start-buteo-mtp-as-ceres-by-default.patch
0 → 100644
View file @
dedfab6a
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
recipes-nemomobile/buteo/buteo-mtp_git.bb
View file @
dedfab6a
...
@@ -4,7 +4,8 @@ LICENSE = "BSD"
...
@@ -4,7 +4,8 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://mtpserver/mtpserver.cpp;beginline=1;endline=30;md5=a2b2b5351d5e7a0b1f3b62af44e24404"
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 \
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"
SRCREV = "dd37c4f61e96bc25dd95d9661310e5326e31b593"
PR = "r1"
PR = "r1"
PV = "+git${SRCREV}"
PV = "+git${SRCREV}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment