Change update to use the update plymouth service and systemd target accepted/trunk/20130411.141729 submit/trunk/20130411.125228
authorWilliam Douglas <william.douglas@intel.com>
Thu, 11 Apr 2013 12:51:54 +0000 (05:51 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Thu, 11 Apr 2013 12:51:54 +0000 (05:51 -0700)
Signed-off-by: William Douglas <william.douglas@intel.com>
Makefile
packaging/swup.spec
system-update.service
system-update.target [deleted file]

index 9655ebb..cbfb024 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,5 +4,4 @@ install:
        install -D -m 755 swup.py ${DESTDIR}/usr/bin/swup
        install -D -m 755 system-update.sh ${DESTDIR}/usr/bin/system-update
        install -D -m 755 tools/updateinfo/updateinfo.py ${DESTDIR}/usr/bin/updateinfo
-       install -D -m 644 system-update.target ${DESTDIR}/usr/lib/systemd/system/system-update.target
        install -D -m 644 system-update.service ${DESTDIR}/usr/lib/systemd/system/system-update.service
index e1e43b3..8383735 100644 (file)
@@ -22,7 +22,6 @@ Software Update Tool.
 
 %install
 %make_install
-rm -f %{buildroot}%{_unitdir}/system-update.target
 %install_service system-update.target.wants system-update.service
 
 %files
@@ -31,7 +30,6 @@ rm -f %{buildroot}%{_unitdir}/system-update.target
 %{_bindir}/system-update
 %{_bindir}/updateinfo
 %{_unitdir}/system-update.service
-#%{_unitdir}/system-update.target
 %{_unitdir}/system-update.target.wants/system-update.service
 
 %changelog
index 9ba9d73..983f170 100644 (file)
@@ -2,12 +2,12 @@
 Description=Tizen System Updater
 DefaultDependencies=no
 OnFailure=reboot.target
-Requires=systemd-remount-fs.service connman.service
-After=systemd-remount-fs.service connman.service
+Requires=systemd-remount-fs.service plymouth-update.service
+After=systemd-remount-fs.service plymouth-update.service
 
 [Service]
 Type=oneshot
 #StandardInput=tty-force
-#StandardOutput=tty-force
+StandardOutput=tty-force
 RemainAfterExit=no
 ExecStart=/usr/bin/system-update
diff --git a/system-update.target b/system-update.target
deleted file mode 100644 (file)
index 7f337ad..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-[Unit]
-Description=System Update
-Documentation=man:systemd.special(7)
-Requires=sysinit.target
-After=sysinit.target