baseimager: do not add noatime mount option
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 30 Dec 2013 16:07:51 +0000 (18:07 +0200)
committerGui Chen <gui.chen@intel.com>
Mon, 6 Jan 2014 02:25:32 +0000 (04:25 +0200)
Stop adding "noatime" to the INSTALLERFW_PARTx_FSOPTS installer framework
variable, because it is up to the plugin to decide which mount options to add.
MIC should not try to add own.

Change-Id: I4b9e8f0f61b2777e0ee6bdcd96728b21913eaf0c
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/imager/baseimager.py

index d7c4d27..21410b0 100644 (file)
@@ -442,9 +442,7 @@ class BaseImageCreator(object):
             env.update(self._set_part_env(pnum, "MOUNTPOINT", p.mountpoint))
             env.update(self._set_part_env(pnum, "FSTYPE", p.fstype))
             env.update(self._set_part_env(pnum, "LABEL", p.label))
-            env.update(self._set_part_env(pnum, "FSOPTS",
-                                          "defaults,noatime" if not p.fsopts
-                                          else p.fsopts))
+            env.update(self._set_part_env(pnum, "FSOPTS", p.fsopts))
             env.update(self._set_part_env(pnum, "BOOTFLAG", p.active))
             env.update(self._set_part_env(pnum, "ALIGN", p.align))
             env.update(self._set_part_env(pnum, "TYPE_ID", p.part_type))