[meego-commits] 14434: Changes to Trunk:Testing/sensorfw

Markus Lehtonen no_reply at build.meego.com
Wed Mar 2 14:30:53 UTC 2011


Hi,
I have made the following changes to sensorfw in project Trunk:Testing. Please review and accept ASAP.

Thank You,
Markus Lehtonen

[This message was auto-generated]

---

Request #14434:

  submit:   devel:systemsw/sensorfw(r18) -> Trunk:Testing/sensorfw


Message:
    * Wed Mar 02 2011 Markus Lehtonen <markus.lehtonen at nokia.com> - 0.6.36
- Remove preun/post/postun scriptlets to avoid double startup (BMC#12898).

State:   new          2011-03-02T01:28:58 mlehtonen
Comment: None



changes files:
--------------
--- sensorfw.changes
+++ sensorfw.changes
@@ -0,0 +1,3 @@
+* Wed Mar 02 2011 Markus Lehtonen <markus.lehtonen at nokia.com> - 0.6.36
+- Remove preun/post/postun scriptlets to avoid double startup (BMC#12898).
+

spec files:
-----------
--- sensorfw.spec
+++ sensorfw.spec
@@ -215,19 +215,8 @@
 # << install post
 
 
-%preun
-# >> preun
-if [ $1 = 0 ]; then
-/sbin/service sensord stop > /dev/null 2>&1
-/sbin/chkconfig --del sensord
-fi
-# << preun
 
-%post
-/sbin/ldconfig
-# >> post
-/sbin/chkconfig --add sensord
-# << post
+%post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 

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

++++++ sensord-ncdk.conf
--- sensord-ncdk.conf
+++ sensord-ncdk.conf
@@ -18,6 +18,10 @@
 # when it rotates into desired positions, no need to poll now.
 orientation_poll_interval = 0
 
+# ALS driver sysfs nodes
+als-ascii_sysfs_path = /sys/bus/i2c/drivers/apds990x/0-0039/lux_output
+als-ascii_range_sysfs_path = /sys/bus/i2c/drivers/apds990x/0-0039/sensing_range
+
 [ncdk]
 accelerometeradaptor = accelerometeradaptor
 alsadaptor = alsadaptor-ascii




More information about the MeeGo-commits mailing list