wic: Remove selinux_check()
authorTom Zanussi <tom.zanussi@linux.intel.com>
Thu, 24 Oct 2013 03:49:01 +0000 (22:49 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Oct 2013 13:39:09 +0000 (13:39 +0000)
This seems to be an obsolete check - we don't have any problems with
image creation under selinux, so remove it.

(From OE-Core rev: 12e81eceab9e0a483765566ad3791b14718195b5)

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>
scripts/lib/mic/conf.py

index 58fad51..b850d80 100644 (file)
@@ -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)