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
8bead751
Commit
8bead751
authored
Sep 11, 2016
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mce: use a custom service for faster boot time
parent
9f17c9a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
25 deletions
+18
-25
0002-mce.service-use-a-2-seconds-timeout.patch
...le/mce/mce/0002-mce.service-use-a-2-seconds-timeout.patch
+0
-24
mce.service
recipes-nemomobile/mce/mce/mce.service
+16
-0
mce_git.bb
recipes-nemomobile/mce/mce_git.bb
+2
-1
No files found.
recipes-nemomobile/mce/mce/0002-mce.service-use-a-2-seconds-timeout.patch
deleted
100644 → 0
View file @
9f17c9a9
From ad01f509d9787e933849d390f454b794169baa95 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Wed, 4 Nov 2015 18:09:47 +0100
Subject: [PATCH] mce.service: use a 2 seconds timeout
---
systemd/mce.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/systemd/mce.service b/systemd/mce.service
index e717c15..c724d9e 100644
--- a/systemd/mce.service
+++ b/systemd/mce.service
@@ -10,6 +10,7 @@
Conflicts=shutdown.target
[Service]
Type=notify
ExecStart=/usr/sbin/mce --systemd
+TimeoutSec=2
Restart=always
[Install]
--
2.6.2
recipes-nemomobile/mce/mce/mce.service
0 → 100644
View file @
8bead751
[Unit]
Description=Mode Control Entity (MCE)
DefaultDependencies=no
Requires=dbus.socket
After=dbus.socket
After=local-fs.target
Conflicts=shutdown.target
[Service]
Type=notify
ExecStart=/usr/sbin/mce --systemd
TimeoutSec=2
Restart=always
[Install]
WantedBy=multi-user.target
recipes-nemomobile/mce/mce_git.bb
View file @
8bead751
...
...
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://git.merproject.org/mer-core/mce.git;protocol=https \
file://001-Fixes_build.patch \
file://
0002-mce.service-use-a-2-seconds-timeout.patch
"
file://
mce.service
"
SRCREV = "ad535db76b7443febaf4f97328eb1968a3f1d8cc"
PR = "r1"
PV = "+git${SRCREV}"
...
...
@@ -15,6 +15,7 @@ DEPENDS += "glib-2.0 libdsme libiphb systemd dbus-glib dbus libngf"
do_install() {
oe_runmake install DESTDIR=${D}
cp ../mce.service ${D}/lib/systemd/system/mce.service
}
FILES_${PN} += " /run/mce /lib/systemd/system "
...
...
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