[OE-core] [PATCH 1/1] wic: Remove selinux_check()

Tom Zanussi tom.zanussi at linux.intel.com
Thu Oct 24 13:11:42 UTC 2013


This seems to be an obsolete checkt - we don't have any problems with
image creation under selinux, so remove this check.

Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
---
 scripts/lib/mic/conf.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/scripts/lib/mic/conf.py b/scripts/lib/mic/conf.py
index 58fad51..b850d80 100644
--- a/scripts/lib/mic/conf.py
+++ b/scripts/lib/mic/conf.py
@@ -186,10 +186,6 @@ class ConfigMgr(object):
                                               self.create['name_prefix'],
                                               self.create['name_suffix'])
 
-        # check selinux, it will block arm and btrfs image creation
-        misc.selinux_check(self.create['arch'],
-                           [p.fstype for p in ks.handler.partition.partitions])
-
     def set_runtime(self, runtime):
         if runtime not in ("bootstrap", "native"):
             msger.error("Invalid runtime mode: %s" % runtime)
-- 
1.8.3.1




More information about the Openembedded-core mailing list