summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/system-plugin.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index b076f2d..0609648 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -179,9 +179,9 @@ install -m 644 etc/fstab_3parts %{buildroot}%{_sysconfdir}
install -m 644 etc/fstab_2parts %{buildroot}%{_sysconfdir}
# fstrim
-mkdir -p %{buildroot}%{_unitdir}/graphical.target.wants
+mkdir -p %{buildroot}%{_unitdir}/delayed.target.wants
install -m 644 units/tizen-fstrim-user.timer %{buildroot}%{_unitdir}
-ln -s ../tizen-fstrim-user.timer %{buildroot}%{_unitdir}/graphical.target.wants/tizen-fstrim-user.timer
+ln -s ../tizen-fstrim-user.timer %{buildroot}%{_unitdir}/delayed.target.wants/tizen-fstrim-user.timer
install -m 644 units/tizen-fstrim-user.service %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_bindir}
install -m 755 scripts/tizen-fstrim-on-charge.sh %{buildroot}%{_bindir}
@@ -253,7 +253,7 @@ systemctl daemon-reload
%{_unitdir}/basic.target.wants/tizen-system-env.service
%{_unitdir}/csa.mount
%{_unitdir}/local-fs.target.wants/csa.mount
-%{_unitdir}/graphical.target.wants/tizen-fstrim-user.timer
+%{_unitdir}/delayed.target.wants/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.service
%{_bindir}/tizen-fstrim-on-charge.sh
@@ -262,7 +262,7 @@ systemctl daemon-reload
%files device-n4
%manifest %{name}.manifest
%license LICENSE.Apache-2.0
-%{_unitdir}/graphical.target.wants/tizen-fstrim-user.timer
+%{_unitdir}/delayed.target.wants/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.service
%{_bindir}/tizen-fstrim-on-charge.sh