mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
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 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>
This commit is contained in:
committed by
Richard Purdie
parent
bd1a423f6d
commit
2342fdc7b4
@@ -186,10 +186,6 @@ class ConfigMgr(object):
|
|||||||
self.create['name_prefix'],
|
self.create['name_prefix'],
|
||||||
self.create['name_suffix'])
|
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):
|
def set_runtime(self, runtime):
|
||||||
if runtime not in ("bootstrap", "native"):
|
if runtime not in ("bootstrap", "native"):
|
||||||
msger.error("Invalid runtime mode: %s" % runtime)
|
msger.error("Invalid runtime mode: %s" % runtime)
|
||||||
|
|||||||
Reference in New Issue
Block a user