summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangjung Woo <sangjung.woo@samsung.com>2015-10-12 16:46:17 +0900
committerSangjung Woo <sangjung.woo@samsung.com>2015-10-14 13:49:31 +0900
commit830a4eb58881ced787c8fe9d623e47c208936b50 (patch)
tree7c28dddbe887a740b87005e32bfbb0dcaf945d6c
parentf33d63815abfa47f4008a64bd6c609627484d248 (diff)
downloadsystem-plugin-830a4eb58881ced787c8fe9d623e47c208936b50.tar.gz
system-plugin-830a4eb58881ced787c8fe9d623e47c208936b50.tar.bz2
system-plugin-830a4eb58881ced787c8fe9d623e47c208936b50.zip
/etc/fstab is moved to system-plugin-* from setup package. Change-Id: I660c135ab870b4ac23397d88c1556fa03004aeb3 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rw-r--r--etc/fstab4
-rw-r--r--packaging/system-plugin.spec6
2 files changed, 10 insertions, 0 deletions
diff --git a/etc/fstab b/etc/fstab
new file mode 100644
index 0000000..10f7825
--- /dev/null
+++ b/etc/fstab
@@ -0,0 +1,4 @@
+# <file system> <mount point> <type> <options> <dump> <pass>
+/dev/root / ext4 defaults,noatime 0 1
+LABEL=system-data /opt ext4 defaults,noatime 0 2
+LABEL=user /opt/usr ext4 defaults,noatime 0 2
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index 648c4b4..05e765a 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -59,6 +59,10 @@ ln -s ../tizen-system-env.service %{buildroot}%{_unitdir}/basic.target.wants/tiz
mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/
install -m 644 rules/51-system-plugin-exynos.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
+# fstab
+mkdir -p %{buildroot}%{_sysconfdir}
+install -m 644 etc/fstab %{buildroot}%{_sysconfdir}
+
%post
systemctl daemon-reload
@@ -74,12 +78,14 @@ 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
+%{_sysconfdir}/fstab
%files n4
%manifest %{name}.manifest
%{_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
+%{_sysconfdir}/fstab
%files exynos
%manifest %{name}.manifest