diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2015-10-12 16:46:17 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2015-10-14 13:49:31 +0900 |
commit | 830a4eb58881ced787c8fe9d623e47c208936b50 (patch) | |
tree | 7c28dddbe887a740b87005e32bfbb0dcaf945d6c | |
parent | f33d63815abfa47f4008a64bd6c609627484d248 (diff) | |
download | system-plugin-accepted/tizen/wearable/20151014.093432.tar.gz system-plugin-accepted/tizen/wearable/20151014.093432.tar.bz2 system-plugin-accepted/tizen/wearable/20151014.093432.zip |
spec: add /etc/fstab into system-plugin-DEVICE packagetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasesubmit/tizen/20151014.070251accepted/tizen/wearable/20151014.093432accepted/tizen/tv/20151014.093417accepted/tizen/mobile/20151014.093408
/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/fstab | 4 | ||||
-rw-r--r-- | packaging/system-plugin.spec | 6 |
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 |