Name: system-recovery
Summary: System recovery
-Version: 0.5.2
+Version: 0.6.0
Release: 0
Group: System/Utilities
License: Apache-2.0
install -m 644 units/recovery.target %{buildroot}%{_unitdir}
install -m 644 units/recovery-reboot.service %{buildroot}%{_unitdir}
ln -s ../recovery-reboot.service %{buildroot}%{_unitdir}/recovery.target.wants
-install -m 644 units/tizen-recovery.service %{buildroot}%{_unitdir}
-ln -s ../tizen-recovery.service %{buildroot}%{_unitdir}/recovery.target.wants
+install -m 644 units/recovery.service %{buildroot}%{_unitdir}
+ln -s ../recovery.service %{buildroot}%{_unitdir}/recovery.target.wants
%files
%{_unitdir}/recovery.target
%{_unitdir}/recovery-reboot.service
%{_unitdir}/recovery.target.wants/recovery-reboot.service
-%{_unitdir}/tizen-recovery.service
-%{_unitdir}/recovery.target.wants/tizen-recovery.service
+%{_unitdir}/recovery.service
+%{_unitdir}/recovery.target.wants/recovery.service
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
-# recovery-init
SET(RECOVERY_REBOOT_SERVICE ${CMAKE_CURRENT_SOURCE_DIR}/recovery-reboot.service)
CONFIGURE_FILE(${RECOVERY_REBOOT_SERVICE}.in ${RECOVERY_REBOOT_SERVICE} @ONLY)
[Unit]
Description=Reboot after recovery
DefaultDependencies=no
-Requires=tizen-recovery.service
-After=tizen-recovery.service
+Requires=recovery.service
+After=recovery.service
[Service]
ExecStart=/usr/sbin/reboot -f
[Unit]
-Description=Tizen recovery
+Description=Recovery
DefaultDependencies=no
Requires=sysinit.target local-fs.target
After=sysinit.target local-fs.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/true
+SmackProcessLabel=System