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>
This commit is contained in:
parent
a975c8205c
commit
7d675f1967
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue