diff options
author | Min Kang <min1023.kang@samsung.com> | 2015-12-10 19:50:52 +0900 |
---|---|---|
committer | Min Kang <min1023.kang@samsung.com> | 2015-12-10 19:50:52 +0900 |
commit | a210051cbb4c2fce5ed36d5542b1c75c2dcc23ff (patch) | |
tree | 86ee3867c875269da8d985d047477456011a3ed1 | |
parent | 25b2cd367cdce422f2bd89f9dd06bb61d87209ce (diff) | |
download | system-plugin-a210051cbb4c2fce5ed36d5542b1c75c2dcc23ff.tar.gz system-plugin-a210051cbb4c2fce5ed36d5542b1c75c2dcc23ff.tar.bz2 system-plugin-a210051cbb4c2fce5ed36d5542b1c75c2dcc23ff.zip |
spreadtrum: Add csa mountsubmit/tizen/20151210.105925accepted/tizen/wearable/20151210.231020accepted/tizen/tv/20151210.230929accepted/tizen/mobile/20151210.230849
add local-fs.target.wants/csa.mount and
make directory /csa
Change-Id: I64a262236a2db45a6415885aec4fc54a42ddfd1b
Signed-off-by: Min Kang <min1023.kang@samsung.com>
-rw-r--r-- | packaging/system-plugin.spec | 9 | ||||
-rw-r--r-- | units/csa.mount | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index a4d0f15..41c8eec 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -53,9 +53,15 @@ cp %{SOURCE1} . %install mkdir -p %{buildroot}%{_unitdir} +mkdir -p %{buildroot}/csa install -m 644 units/resize2fs@.service %{buildroot}%{_unitdir} install -m 644 units/tizen-system-env.service %{buildroot}%{_unitdir} +# csa mount +install -m 644 units/csa.mount %{buildroot}%{_unitdir} +mkdir -p %{buildroot}%{_unitdir}/local-fs.target.wants +ln -s ../csa.mount %{buildroot}%{_unitdir}/local-fs.target.wants/csa.mount + # Resize partition for 3-parted target mkdir -p %{buildroot}%{_unitdir}/basic.target.wants ln -s ../resize2fs@.service %{buildroot}%{_unitdir}/basic.target.wants/resize2fs@dev-disk-by\\x2dlabel-system\\x2ddata.service @@ -101,6 +107,7 @@ systemctl daemon-reload %files spreadtrum %manifest %{name}.manifest +/csa %{_prefix}/lib/udev/rules.d/51-system-plugin-spreadtrum.rules %{_unitdir}/tizen-system-env.service %{_sysconfdir}/fstab @@ -108,3 +115,5 @@ 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 +%{_unitdir}/csa.mount +%{_unitdir}/local-fs.target.wants/csa.mount diff --git a/units/csa.mount b/units/csa.mount new file mode 100644 index 0000000..636af6c --- /dev/null +++ b/units/csa.mount @@ -0,0 +1,10 @@ +[Unit] +DefaultDependencies=no +Before=local-fs.target +After=local-fs-pre.target + +[Mount] +What=/dev/disk/by-partlabel/csa +Where=/csa +Type=ext4 +Options=data=journal,nosuid |