[oe-commits] Tom Zanussi : wic: Remove selinux_check()

git at git.openembedded.org git at git.openembedded.org
Wed Oct 30 14:37:31 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 12e81eceab9e0a483765566ad3791b14718195b5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=12e81eceab9e0a483765566ad3791b14718195b5

Author: Tom Zanussi <tom.zanussi at linux.intel.com>
Date:   Wed Oct 23 22:49:01 2013 -0500

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.

Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 scripts/lib/mic/conf.py |    4 ----
 1 files changed, 0 insertions(+), 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)



More information about the Openembedded-commits mailing list