Call vconftool as absolute path. 27/15127/1
authorwalyong.cho <walyong.cho@samsung.com>
Wed, 15 May 2013 07:50:16 +0000 (16:50 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Thu, 16 Jan 2014 11:01:59 +0000 (12:01 +0100)
Change-Id: Idec1a93cb24378675a903a8c8dc5f31a9eabedb1
Signed-off-by: walyong.cho <walyong.cho@samsung.com>
packaging/system-server.spec
packaging/zbooting-done.service [new file with mode: 0644]

index d99433b..291b995 100755 (executable)
@@ -13,6 +13,7 @@ Source4:    libslp-pm.manifest
 Source5:    haptic.manifest
 Source6:    devman.manifest
 Source8:    regpmon.service
+Source9:    zbooting-done.service
 BuildRequires:  cmake
 BuildRequires:  libattr-devel
 BuildRequires:  pkgconfig(ecore)
@@ -179,6 +180,8 @@ ln -s ../system-server.service %{buildroot}%{_libdir}/systemd/system/sockets.tar
 install -m 0644 %{SOURCE8} %{buildroot}%{_libdir}/systemd/system/regpmon.service
 ln -s ../regpmon.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/regpmon.service
 mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
+install -m 0644 %{SOURCE9} %{buildroot}%{_libdir}/systemd/system/zbooting-done.service
+ln -s ../zbooting-done.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/zbooting-done.service
 
 %post
 #memory type vconf key init
@@ -251,6 +254,7 @@ systemctl daemon-reload
 if [ $1 == 1 ]; then
     systemctl restart system-server.service
     systemctl restart regpmon.service
+       systemctl restart zbooting-done.service
 fi
 /sbin/ldconfig
 
@@ -258,6 +262,7 @@ fi
 if [ $1 == 0 ]; then
     systemctl stop system-server.service
     systemctl stop regpmon.service
+       systemctl stop zbooting-done.service
 fi
 
 %postun
@@ -291,6 +296,8 @@ systemctl daemon-reload
 %{_libdir}/systemd/system/system-server.socket
 %{_libdir}/systemd/system/multi-user.target.wants/regpmon.service
 %{_libdir}/systemd/system/regpmon.service
+%{_libdir}/systemd/system/graphical.target.wants/zbooting-done.service
+%{_libdir}/systemd/system/zbooting-done.service
 %{_datadir}/system-server/udev-rules/91-system-server.rules
 %{_datadir}/system-server/sys_pci_noti/res/locale/*/LC_MESSAGES/*.mo
 %config %{_sysconfdir}/dbus-1/system.d/system-server.conf
diff --git a/packaging/zbooting-done.service b/packaging/zbooting-done.service
new file mode 100644 (file)
index 0000000..a7e7017
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=Booting Done
+After=default.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/dbus-send --type=signal --system /Org/Tizen/System/DeviceD/Core org.tizen.system.deviced.core.BootingDone
+
+[Install]
+WantedBy=graphical.target