summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunhoon Baik <knhoon.baik@samsung.com>2016-10-26 00:19:05 +0900
committerKunhoon Baik <knhoon.baik@samsung.com>2016-10-26 00:22:57 +0900
commitc647364c331334f37d12a89fdad68b3e7a058a94 (patch)
tree602e1fbbf73bcf7d4ef6a1aa230071351ef0a6d9
parentec3acc822eccbc496c03edeba182038b840b1229 (diff)
downloadsystem-plugin-c647364c331334f37d12a89fdad68b3e7a058a94.tar.gz
system-plugin-c647364c331334f37d12a89fdad68b3e7a058a94.tar.bz2
system-plugin-c647364c331334f37d12a89fdad68b3e7a058a94.zip
umount-opt.service was for 2.4 3 partition compatibilty layer in Tizen 2 Partition system. However, Tizen decided to re-support 3 partition for full compatibility due to 2.4 -> 3.0 upgrade For your information, 2.4/3.0 Major Compatibilty is 1) Partition : Keep 3 Partitoin 2) App Directory : /opt/usr/apps 3) Content Directory : /opt/usr/media Change-Id: Ica295ed0dc47677c36637eec6d335edb60c40d20
-rw-r--r--packaging/system-plugin.spec9
-rw-r--r--units/umount-opt.service12
2 files changed, 0 insertions, 21 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index 3b13381..a543a97 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -154,11 +154,6 @@ mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/
install -m 644 rules/51-system-plugin-exynos.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
install -m 644 rules/51-system-plugin-spreadtrum.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
-# umount /opt
-install -m 644 units/umount-opt.service %{buildroot}%{_unitdir}
-mkdir -p %{buildroot}%{_unitdir}/local-fs-pre.target.wants
-ln -s ../umount-opt.service %{buildroot}%{_unitdir}/local-fs-pre.target.wants/umount-opt.service
-
# fstab
mkdir -p %{buildroot}%{_sysconfdir}
install -m 644 etc/fstab %{buildroot}%{_sysconfdir}
@@ -240,8 +235,6 @@ systemctl daemon-reload
%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dpartlabel-system\x2ddata.service
%{_unitdir}/csa.mount
%{_unitdir}/local-fs.target.wants/csa.mount
-%{_unitdir}/umount-opt.service
-%{_unitdir}/local-fs-pre.target.wants/umount-opt.service
# ugly temporary patch for initrd wearable
%post circle
@@ -268,8 +261,6 @@ mv %{_sysconfdir}/fstab_lazymnt %{_sysconfdir}/fstab
%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-rootfs.service
%{_unitdir}/csa.mount
%{_unitdir}/local-fs.target.wants/csa.mount
-%{_unitdir}/umount-opt.service
-%{_unitdir}/local-fs-pre.target.wants/umount-opt.service
%{_unitdir}/graphical.target.wants/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.timer
%{_unitdir}/tizen-fstrim-user.service
diff --git a/units/umount-opt.service b/units/umount-opt.service
deleted file mode 100644
index 9402151..0000000
--- a/units/umount-opt.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Unmount opt
-DefaultDependencies=no
-ConditionPathIsMountPoint=/opt
-Before=local-fs-pre.target local-fs.target shutdown.target
-Requires=local-fs-pre.target
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-SmackProcessLabel=System
-ExecStart=/bin/umount -l /opt