diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2014-04-04 18:31:38 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2014-04-04 18:31:38 +0900 |
commit | c018ade26bcdc48a82b0ea3c7fb9de6c2b88bbca (patch) | |
tree | 035a7febc21fa39cc8b545f4ff45dad7b7180640 /packaging/system-plugin-mount.spec | |
parent | 6183e095aed2b8a00b2ac5b965cd0e3d7be0e01d (diff) | |
download | system-plugin-mount-tizen.tar.gz system-plugin-mount-tizen.tar.bz2 system-plugin-mount-tizen.zip |
Resize partition for /opt and /opt/usrHEADsubmit/tizen/20140407.034348accepted/tizen/mobile/20140407.041645accepted/tizen/ivi/panda/20140408.203259accepted/tizen/ivi/20140410.192056tizenaccepted/tizen_mobileaccepted/tizen_ivi_pandaaccepted/tizen_ivi
When booting the device at first time, '/opt' and '/opt/usr' partition
should be extended by using resize2fs command.
Change-Id: I10c7be9d9deb3bc962b01514f6c04dc16ef0565b
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Diffstat (limited to 'packaging/system-plugin-mount.spec')
-rwxr-xr-x | packaging/system-plugin-mount.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/system-plugin-mount.spec b/packaging/system-plugin-mount.spec index 88498e5..5b1d01b 100755 --- a/packaging/system-plugin-mount.spec +++ b/packaging/system-plugin-mount.spec @@ -31,6 +31,9 @@ cp -f LICENSE %{buildroot}/usr/share/license/%{name} #resize2fs service file for systemd install -m0755 -d %{buildroot}%{_unitdir}/local-fs.target.wants ln -s ../resize2fs-root.service %{buildroot}%{_unitdir}/local-fs.target.wants/resize2fs-root.service +ln -s ../resize2fs-opt.service %{buildroot}%{_unitdir}/local-fs.target.wants/resize2fs-opt.service +ln -s ../resize2fs-opt-usr.service %{buildroot}%{_unitdir}/local-fs.target.wants/resize2fs-opt-usr.service + %files /bin/with-dev-root-do @@ -41,4 +44,8 @@ ln -s ../resize2fs-root.service %{buildroot}%{_unitdir}/local-fs.target.wants/re /usr/share/license/%{name} %{_unitdir}/resize2fs-root.service %{_unitdir}/local-fs.target.wants/resize2fs-root.service +%{_unitdir}/resize2fs-opt.service +%{_unitdir}/local-fs.target.wants/resize2fs-opt.service +%{_unitdir}/resize2fs-opt-usr.service +%{_unitdir}/local-fs.target.wants/resize2fs-opt-usr.service %{_unitdir}/resize2fs@.service |