diff options
author | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2013-12-30 18:07:51 +0200 |
---|---|---|
committer | Gui Chen <gui.chen@intel.com> | 2014-01-06 04:25:32 +0200 |
commit | dd49037385eb0a58e9364f3579c055786b0961d1 (patch) | |
tree | 1fb0684c4f805afa94b74ce7562c0ac22f8556c3 | |
parent | 5cfa0640166b7123619ad641a0771e8a6e127f56 (diff) | |
download | mic-dd49037385eb0a58e9364f3579c055786b0961d1.tar.gz mic-dd49037385eb0a58e9364f3579c055786b0961d1.tar.bz2 mic-dd49037385eb0a58e9364f3579c055786b0961d1.zip |
baseimager: do not add noatime mount option
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>
-rw-r--r-- | mic/imager/baseimager.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mic/imager/baseimager.py b/mic/imager/baseimager.py index d7c4d27..21410b0 100644 --- a/mic/imager/baseimager.py +++ b/mic/imager/baseimager.py @@ -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)) |