diff options
author | Kunhoon Baik <knhoon.baik@samsung.com> | 2016-03-29 20:27:09 +0900 |
---|---|---|
committer | Kunhoon Baik <knhoon.baik@samsung.com> | 2016-03-29 20:41:56 +0900 |
commit | d0b3bc5f216aacee59afbb930185a833309e2dc4 (patch) | |
tree | de3a30aebef2bf6939453ce7024528876327a7e2 | |
parent | ffa4532d61a56739122e63ab95674866b33e8871 (diff) | |
download | system-plugin-d0b3bc5f216aacee59afbb930185a833309e2dc4.tar.gz system-plugin-d0b3bc5f216aacee59afbb930185a833309e2dc4.tar.bz2 system-plugin-d0b3bc5f216aacee59afbb930185a833309e2dc4.zip |
[Temporary] For supporting MCD specific targetsubmit/tizen/20160329.115021accepted/tizen/wearable/20160329.121937accepted/tizen/tv/20160329.121922accepted/tizen/mobile/20160329.121908accepted/tizen/ivi/20160329.121955accepted/tizen/common/20160329.143303
Change-Id: I9bf5f992aa593ed74d21874133341e1d59d22328
-rw-r--r-- | etc/fstab_tm1 | 3 | ||||
-rw-r--r-- | packaging/system-plugin.spec | 8 | ||||
-rw-r--r-- | units/umount-opt.service | 1 |
3 files changed, 5 insertions, 7 deletions
diff --git a/etc/fstab_tm1 b/etc/fstab_tm1 deleted file mode 100644 index 04c42bc..0000000 --- a/etc/fstab_tm1 +++ /dev/null @@ -1,3 +0,0 @@ -# <file system> <mount point> <type> <options> <dump> <pass> -/dev/root / ext4 defaults,noatime 0 1 -LABEL=user /opt ext4 defaults,noatime 0 2 diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index 815547c..a52487c 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -94,8 +94,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} -# fstab for tm1 -install -m 644 etc/fstab_tm1 %{buildroot}%{_sysconfdir} %post systemctl daemon-reload @@ -143,7 +141,7 @@ mv %{_sysconfdir}/fstab_initrd %{_sysconfdir}/fstab # fstab for tm1 %post spreadtrum rm %{_sysconfdir}/fstab -mv %{_sysconfdir}/fstab_tm1 %{_sysconfdir}/fstab +mv %{_sysconfdir}/fstab_initrd %{_sysconfdir}/fstab %files spreadtrum %manifest %{name}.manifest @@ -151,10 +149,12 @@ mv %{_sysconfdir}/fstab_tm1 %{_sysconfdir}/fstab /csa %{_prefix}/lib/udev/rules.d/51-system-plugin-spreadtrum.rules %{_unitdir}/tizen-system-env.service -%{_sysconfdir}/fstab_tm1 +%{_sysconfdir}/fstab_initrd %{_unitdir}/basic.target.wants/tizen-system-env.service %{_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 %{_unitdir}/csa.mount %{_unitdir}/local-fs.target.wants/csa.mount +%{_unitdir}/umount-opt.service +%{_unitdir}/local-fs-pre.target.wants/umount-opt.service diff --git a/units/umount-opt.service b/units/umount-opt.service index 49fa948..9ed8170 100644 --- a/units/umount-opt.service +++ b/units/umount-opt.service @@ -1,6 +1,7 @@ [Unit] Description=Unmount opt DefaultDependencies=no +ConditionPathIsMountPoint=/opt Before=local-fs-pre.target local-fs.target shutdown.target Requires=local-fs-pre.target |