I have made the following changes intended for :
  CE:MW:Shared / mce

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/7356

Thank You,
Pekka Lundstrom

[This message was auto-generated]

---

Request # 7356:

Messages from BOSS:

State: review at 2012-11-09T13:51:13 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:plundstr:branches:CE:MW:Shared / mce -> CE:MW:Shared / mce
  
changes files:
--------------
--- mce.changes
+++ mce.changes
@@ -0,0 +1,5 @@
+* Fri Nov 9  2012 Pekka Lundstrom <[email protected]> - 1.12.3
+- Removed usage of waitfordsme. Systemd takes care on waiting
+  Fixes NEMO#568 : mce should be started after dsme without need for 
waitfordsme
+- Added mce.conf to handle /run/mce dir creation by using /etc/tmpfiles.d
+  

new:
----
  mce.conf

spec files:
-----------
--- mce.spec
+++ mce.spec
@@ -7,6 +7,7 @@
 URL:        https://github.com/nemomobile/mce
 Source0:    %{name}-%{version}.tar.bz2
 Source1:    mce.service
+Source2:    mce.conf
 # Patches auto-generated by git-buildpackage:
 Requires:   dsme
 Requires:   systemd
@@ -65,6 +66,7 @@
 install -d %{buildroot}/lib/systemd/system/multi-user.target.wants/
 ln -s ../%{name}.service 
%{buildroot}/lib/systemd/system/multi-user.target.wants/%{name}.service
 install -D -m 644 %{SOURCE1} %{buildroot}/lib/systemd/system/%{name}.service
+install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/tmpfiles.d/mce.conf
 
 rm -rf %{buildroot}/etc/osso-cud-scripts
 rm -rf %{buildroot}/etc/osso-rfs-scripts
@@ -115,6 +117,7 @@
 %{_datadir}/mce/mce-*
 /lib/systemd/system/%{name}.service
 /lib/systemd/system/multi-user.target.wants/%{name}.service
+%{_sysconfdir}/tmpfiles.d/mce.conf
 
 %dir %{_localstatedir}/lib/%{name}/
 

other changes:
--------------

++++++ mce.conf (new)
--- mce.conf
+++ mce.conf
@@ -0,0 +1 @@
+d /run/mce 0755 root root

++++++ mce.service
--- mce.service
+++ mce.service
@@ -6,8 +6,6 @@
 
 [Service]
 Environment=DSME_SOCKFILE=/run/dsme.socket
-ExecStartPre=-/bin/mkdir -p /run/mce
-ExecStartPre=/usr/sbin/waitfordsme
 ExecStart=/sbin/mce
 Restart=always
 



Reply via email to