Signed-off-by: William Douglas <william.douglas@intel.com>
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
%install
%make_install
-rm -f %{buildroot}%{_unitdir}/system-update.target
%install_service system-update.target.wants system-update.service
%files
%{_bindir}/system-update
%{_bindir}/updateinfo
%{_unitdir}/system-update.service
-#%{_unitdir}/system-update.target
%{_unitdir}/system-update.target.wants/system-update.service
%changelog
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
+++ /dev/null
-[Unit]
-Description=System Update
-Documentation=man:systemd.special(7)
-Requires=sysinit.target
-After=sysinit.target