diff options
author | taeyoung <ty317.kim@samsung.com> | 2016-11-01 17:26:59 +0900 |
---|---|---|
committer | taeyoung <ty317.kim@samsung.com> | 2016-11-01 17:32:57 +0900 |
commit | 74d995b6685d0940fa8ab1dbd30165cb0da50a02 (patch) | |
tree | 8d7753149f2ae5b76476ffe672eb2977a6f7d493 | |
parent | c647364c331334f37d12a89fdad68b3e7a058a94 (diff) | |
download | system-plugin-74d995b6685d0940fa8ab1dbd30165cb0da50a02.tar.gz system-plugin-74d995b6685d0940fa8ab1dbd30165cb0da50a02.tar.bz2 system-plugin-74d995b6685d0940fa8ab1dbd30165cb0da50a02.zip |
resize fs: resize rootfs according to the partition label for TM1 and TW1
- TM1 and TW1 use partition label to distinguish partitions.
- previously, rootfs of TM1 was distinguished by file system label
and rootfs of TW1 was not resized. Thus the resizefs services by
partition label are added for TM1 and TW1.
Change-Id: I044ca8ed09096fb30d32eac408c689acd1f20916
Signed-off-by: taeyoung <ty317.kim@samsung.com>
-rw-r--r-- | packaging/system-plugin.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index a543a97..885fbea 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -146,6 +146,7 @@ ln -s ../resize2fs@.service %{buildroot}%{_unitdir}/basic.target.wants/resize2fs ln -s ../resize2fs@.service %{buildroot}%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\\x2dpartlabel-user.service ln -s ../resize2fs@.service %{buildroot}%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\\x2dpartlabel-system\\x2ddata.service +ln -s ../resize2fs@.service %{buildroot}%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\\x2dpartlabel-rootfs.service ln -s ../tizen-system-env.service %{buildroot}%{_unitdir}/basic.target.wants/tizen-system-env.service %install_service multi-user.target.wants ivi-network.service @@ -233,6 +234,7 @@ systemctl daemon-reload %{_sysconfdir}/fstab_initrd %{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dpartlabel-user.service %{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dpartlabel-system\x2ddata.service +%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dpartlabel-rootfs.service %{_unitdir}/csa.mount %{_unitdir}/local-fs.target.wants/csa.mount @@ -258,7 +260,7 @@ mv %{_sysconfdir}/fstab_lazymnt %{_sysconfdir}/fstab %{_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 -%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dlabel-rootfs.service +%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\x2dpartlabel-rootfs.service %{_unitdir}/csa.mount %{_unitdir}/local-fs.target.wants/csa.mount %{_unitdir}/graphical.target.wants/tizen-fstrim-user.timer |