]> code.ossystems Code Review - openembedded-core.git/commitdiff
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>
Thu, 12 Dec 2013 16:53:01 +0000 (16:53 +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 master 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>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
scripts/lib/mic/conf.py

index 58fad51f8935fdaa5198528b67c13616379c1e9d..b850d8052063476e76c58254e9e83272f72607e7 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)