From 68e0690ff7d34e84765c6e5edf55d97408fd4263 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Thu, 14 Nov 2013 15:12:13 +0100 Subject: [PATCH] Provide default value for INSTALLERFW_PARTx_FSOPTS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ib9b93dc04db41242ed3c4b78425c5ee6c2de2754 Signed-off-by: Łukasz Stelmach --- mic/imager/baseimager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mic/imager/baseimager.py b/mic/imager/baseimager.py index 2e64adf..59aaf5b 100644 --- a/mic/imager/baseimager.py +++ b/mic/imager/baseimager.py @@ -442,7 +442,9 @@ 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", p.fsopts)) + env.update(self._set_part_env(pnum, "FSOPTS", + "defaults,noatime" if not p.fsopts + else 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