From dd49037385eb0a58e9364f3579c055786b0961d1 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 30 Dec 2013 18:07:51 +0200 Subject: [PATCH] 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 --- mic/imager/baseimager.py | 4 +--- 1 file changed, 1 insertion(+), 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)) -- 2.7.4