diff options
author | wchang kim <wchang.kim@samsung.com> | 2017-04-07 14:12:11 +0900 |
---|---|---|
committer | wchang kim <wchang.kim@samsung.com> | 2017-04-07 14:23:13 +0900 |
commit | a334d2c2c81c3f0b5cd131236202caf22590a1ea (patch) | |
tree | 7207e1df072b4a3e07dce2055c6daeacc3751822 | |
parent | 1e86cc8abbe9124783d8d5080595252fa8b94343 (diff) | |
download | system-plugin-a334d2c2c81c3f0b5cd131236202caf22590a1ea.tar.gz system-plugin-a334d2c2c81c3f0b5cd131236202caf22590a1ea.tar.bz2 system-plugin-a334d2c2c81c3f0b5cd131236202caf22590a1ea.zip |
rpi3 : Applying 2 partition.submit/tizen/20170407.060402accepted/tizen/unified/20170407.190735
making fstab_2part and change it to fstab.
Change-Id: I84c1cb17391e18018f64852cf0e903783a953784
-rw-r--r-- | etc/fstab_2part | 3 | ||||
-rw-r--r-- | packaging/system-plugin.spec | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/etc/fstab_2part b/etc/fstab_2part new file mode 100644 index 0000000..2f335c7 --- /dev/null +++ b/etc/fstab_2part @@ -0,0 +1,3 @@ +# <file system> <mount point> <type> <options> <dump> <pass> +/dev/root / ext4 defaults,noatime,ro 0 1 +LABEL=system-data /opt ext4 defaults,noatime 0 2 diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec index a7c377a..2affefe 100644 --- a/packaging/system-plugin.spec +++ b/packaging/system-plugin.spec @@ -172,6 +172,7 @@ install -m 644 etc/fstab_initrd %{buildroot}%{_sysconfdir} # lazymnt install -m 644 etc/fstab_lazymnt %{buildroot}%{_sysconfdir} install -m 644 etc/fstab_initrd_lazymnt %{buildroot}%{_sysconfdir} +install -m 644 etc/fstab_2part %{buildroot}%{_sysconfdir} %if %{temp_wait_mount} mkdir -p %{buildroot}%{_unitdir_user}/basic.target.wants install -m 644 units/wait-user-mount.service %{buildroot}%{_unitdir_user} @@ -241,11 +242,13 @@ 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 +%{_sysconfdir}/fstab_2part %{_prefix}/lib/udev/hwdb.d/60-evdev.hwdb %post rpi3 %{_prefix}/bin/udevadm hwdb --update +rm %{_sysconfdir}/fstab +mv %{_sysconfdir}/fstab_2part %{_sysconfdir}/fstab %files n4 %manifest %{name}.manifest |