remove the /etc/fstab script 67/49267/1 accepted/tizen/mobile/20151014.093405 submit/tizen/20151014.070251 submit/tizen_mobile/20151012.080518
authorSangjung Woo <sangjung.woo@samsung.com>
Mon, 12 Oct 2015 07:59:48 +0000 (16:59 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Mon, 12 Oct 2015 07:59:48 +0000 (16:59 +0900)
Since /etc/fstab is added into system-plugin-* package, so post script
that overwrite /etc/fstab should be removed.

Change-Id: I3aecb8097cab2afb081e81c2cbc8929c7e931ca0
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
scripts/mobile-mbr-3parts.post

index db2b792..6bdef4e 100644 (file)
@@ -1,22 +1,3 @@
 #!/bin/sh
 echo "############### mobile-mbr-3parts.post ################"
 
-# overwrite /etc/fstab to execute fsck.
-#
-# The default value of the sixth field(fs_passno) in /etc/fstab
-# created by MIC tool is 0. If the value is 1 or 2, fsck will be executed
-# automatically before mounting. (refer to systemd-fstab-generator)
-cat > /etc/fstab << EOF
-# This file is generated by post script in .ks file.
-#
-# <file system> <mount point>   <type>  <options>        <dump> <pass>
-/dev/root       /               ext4    defaults,noatime 0      1
-devpts          /dev/pts        devpts  gid=5,mode=620   0      0
-tmpfs           /dev/shm        tmpfs   defaults         0      0
-proc            /proc           proc    defaults         0      0
-sysfs           /sys            sysfs   defaults         0      0
-
-LABEL=system-data /opt          ext4    defaults,noatime 0      2
-LABEL=user      /opt/usr        ext4    defaults,noatime 0      2
-EOF
-