summaryrefslogtreecommitdiff
path: root/packaging/system-plugin.spec
diff options
context:
space:
mode:
authorSunmin Lee <sunm.lee@samsung.com>2016-08-24 22:19:40 -0700
committerSunmin Lee <sunm.lee@samsung.com>2016-08-24 22:20:18 -0700
commitb63cf7d6105a8866d82d7c8110eaa19fae0044d0 (patch)
treefa79ac497bacfa4849abfdb4be1a6179d60d0afd /packaging/system-plugin.spec
parent3852a1ad6f7fa99581e588b4570490c85914cc9d (diff)
downloadsystem-plugin-b63cf7d6105a8866d82d7c8110eaa19fae0044d0.tar.gz
system-plugin-b63cf7d6105a8866d82d7c8110eaa19fae0044d0.tar.bz2
system-plugin-b63cf7d6105a8866d82d7c8110eaa19fae0044d0.zip
Lazy mount feature would be applied later. The upgrade modification is needed to be applied first. This reverts commit b31904253f6175183385aca171b491fea234e0f7. Change-Id: Id9acc50b56304c6273c17b0c3fd8c7800de6e65c
Diffstat (limited to 'packaging/system-plugin.spec')
-rw-r--r--packaging/system-plugin.spec14
1 files changed, 4 insertions, 10 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index fe6ad1f..16998b3 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -152,9 +152,6 @@ mkdir -p %{buildroot}%{_sysconfdir}
install -m 644 etc/fstab %{buildroot}%{_sysconfdir}
# ugly temporary patch for initrd wearable
install -m 644 etc/fstab_initrd %{buildroot}%{_sysconfdir}
-# lazymnt
-install -m 644 etc/fstab_lazymnt %{buildroot}%{_sysconfdir}
-install -m 644 etc/fstab_initrd_lazymnt %{buildroot}%{_sysconfdir}
# fstrim
mkdir -p %{buildroot}%{_unitdir}/graphical.target.wants
@@ -182,7 +179,7 @@ systemctl daemon-reload
%post -n liblazymount
/sbin/ldconfig
-/usr/bin/vconftool set -f -t int db/system/lazy_mount_show_ui 1
+/usr/bin/vconftool set -f -t int db/system/lazy_mount_show_ui 0
systemctl daemon-reload
%postun -n liblazymount -p /sbin/ldconfig
@@ -206,7 +203,7 @@ systemctl daemon-reload
%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-system\x2ddata.service
%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-user.service
%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-rootfs.service
-%{_sysconfdir}/fstab_lazymnt
+%{_sysconfdir}/fstab
%{_unitdir}/graphical.target.wants/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.service
@@ -235,10 +232,7 @@ mv %{_sysconfdir}/fstab_initrd %{_sysconfdir}/fstab
# fstab for tm1
%post spreadtrum
rm %{_sysconfdir}/fstab
-mv %{_sysconfdir}/fstab_initrd_lazymnt %{_sysconfdir}/fstab
-%post n4
-rm %{_sysconfdir}/fstab
-mv %{_sysconfdir}/fstab_lazymnt %{_sysconfdir}/fstab
+mv %{_sysconfdir}/fstab_initrd %{_sysconfdir}/fstab
%files spreadtrum
%manifest %{name}.manifest
@@ -246,7 +240,7 @@ mv %{_sysconfdir}/fstab_lazymnt %{_sysconfdir}/fstab
/csa
%{_prefix}/lib/udev/rules.d/51-system-plugin-spreadtrum.rules
%{_unitdir}/tizen-system-env.service
-%{_sysconfdir}/fstab_initrd_lazymnt
+%{_sysconfdir}/fstab_initrd
%{_unitdir}/basic.target.wants/tizen-system-env.service
%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dpartlabel-user.service
%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dpartlabel-system\x2ddata.service