update for beta universally
authorYan Yin <yan.yin@intel.com>
Wed, 14 Mar 2012 06:04:45 +0000 (14:04 +0800)
committerYan Yin <yan.yin@intel.com>
Wed, 14 Mar 2012 06:04:45 +0000 (14:04 +0800)
packaging/sensor-framework.spec

index 90b3033..47ee094 100644 (file)
@@ -1,6 +1,6 @@
 Name:       sensor-framework
 Summary:    Sensor framework
-Version:    0.2.5
+Version:       0.2.5
 Release:    1
 Group:      TO_BE/FILLED_IN
 License:    LGPL
@@ -27,6 +27,13 @@ make %{?jobs:-j%jobs}
 %make_install
 
 %post 
+mkdir -p /etc/rc.d/rc3.d/
+mkdir -p /etc/rc.d/rc4.d/
+ln -s ../init.d/sfsvc /etc/rc.d/rc3.d/S40sfsvc
+ln -s ../init.d/sfsvc /etc/rc.d/rc4.d/S40sfsvc
+
+
+
 vconftool set -t int memory/sensor/10001 0 -i
 vconftool set -t int memory/sensor/10002 0 -i
 vconftool set -t int memory/sensor/10004 0 -i
@@ -48,7 +55,6 @@ vconftool set -t int memory/sensor/80001 0 -i
 vconftool set -t int memory/sensor/80002 0 -i
 
 %files
-%defattr(-,root,root,-)
 /usr/bin/sf_server
 %{_sysconfdir}/rc.d/init.d/sfsvc
 %attr(0644,root,root)/usr/etc/sf_data_stream.conf