summaryrefslogtreecommitdiffstats
path: root/scripts/lib/mic/conf.py
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-10-23 22:49:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-12 17:00:05 +0000
commit7d675f1967d76904124fbe46a2b7636c300ec73e (patch)
tree36eed595f498fdc7729d14c229ecd727ff39424a /scripts/lib/mic/conf.py
parenta975c8205c6c10ef154e66f52c4494280709506a (diff)
downloadpoky-7d675f1967d76904124fbe46a2b7636c300ec73e.tar.gz
wic: Remove selinux_check()
This seems to be an obsolete check - we don't have any problems with image creation under selinux, so remove it. (From OE-Core master rev: 12e81eceab9e0a483765566ad3791b14718195b5) (From OE-Core rev: 28830d3988047023d3b47bcaf320f5efa4428da6) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/conf.py')
-rw-r--r--scripts/lib/mic/conf.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/lib/mic/conf.py b/scripts/lib/mic/conf.py
index 58fad51f89..b850d80520 100644
--- a/scripts/lib/mic/conf.py
+++ b/scripts/lib/mic/conf.py
@@ -186,10 +186,6 @@ class ConfigMgr(object):
186 self.create['name_prefix'], 186 self.create['name_prefix'],
187 self.create['name_suffix']) 187 self.create['name_suffix'])
188 188
189 # check selinux, it will block arm and btrfs image creation
190 misc.selinux_check(self.create['arch'],
191 [p.fstype for p in ks.handler.partition.partitions])
192
193 def set_runtime(self, runtime): 189 def set_runtime(self, runtime):
194 if runtime not in ("bootstrap", "native"): 190 if runtime not in ("bootstrap", "native"):
195 msger.error("Invalid runtime mode: %s" % runtime) 191 msger.error("Invalid runtime mode: %s" % runtime)